/* SMP Jalali DatePicker */
.smp-jdp {
    position: absolute;
    z-index: 999999;
    width: 280px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 12px;
    direction: rtl;
    font-family: inherit;
}

.smp-jdp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.smp-jdp-title {
    font-size: 14px;
    font-weight: bold;
    color: #1E3A5F;
}

.smp-jdp-nav {
    width: 30px;
    height: 30px;
    border: 0;
    background: #f1f5f9;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #1E3A5F;
    line-height: 1;
}

.smp-jdp-nav:hover { background: #e2e8f0; }

.smp-jdp-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.smp-jdp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.smp-jdp-day {
    aspect-ratio: 1;
    border: 0;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    padding: 0;
}

.smp-jdp-day:hover { background: #eef4fb; color: #1E3A5F; }

.smp-jdp-today {
    background: #1E3A5F;
    color: #fff;
    font-weight: bold;
}

.smp-jdp-today:hover { background: #16304f; color: #fff; }

.smp-jdp-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.smp-jdp-btn {
    border: 0;
    background: transparent;
    color: #1E3A5F;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 6px;
}

.smp-jdp-btn:hover { background: #f1f5f9; }

input.smp-jdate {
    cursor: pointer;
    background: #fff;
}
