/* Jalali Datepicker Production-Grade Offline Styling */
.jdp-container {
    position: absolute;
    z-index: 99999;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(5, 42, 63, 0.2);
    padding: 16px;
    width: 300px;
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    display: none;
}
.jdp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F1F5F9;
}
.jdp-select {
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.85rem;
    color: #052A3F;
    font-weight: bold;
    background: #F8FAFC;
}
.jdp-btn {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: #052A3F;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.jdp-btn:hover {
    background: #D46832;
    color: #FFFFFF;
    border-color: #D46832;
}
.jdp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 700;
    margin-bottom: 8px;
}
.jdp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}
.jdp-day {
    padding: 8px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #1E293B;
    font-weight: 500;
    transition: all 0.2s;
}
.jdp-day.empty {
    cursor: default;
    background: transparent !important;
}
.jdp-day:not(.empty):hover {
    background: #F1F5F9;
    color: #D46832;
    font-weight: bold;
}
.jdp-day.selected {
    background: #D46832 !important;
    color: #FFFFFF !important;
    font-weight: bold;
}
.jdp-day.today {
    border: 1.5px solid #052A3F;
    color: #052A3F;
    font-weight: bold;
}
.jdp-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
    text-align: center;
}
.jdp-today-btn {
    background: #052A3F;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}
.jdp-today-btn:hover {
    background: #D46832;
}
