
/* Standalone Persian Datepicker Theme */
.pdate-picker {
    display: none;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    border: 1px solid #e2e8f0;
    width: 270px;
    padding: 12px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    user-select: none;
}
.pdate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}
.pdate-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}
.pdate-year-input {
    width: 60px !important;
    padding: 2px 4px !important;
    font-size: 13px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    text-align: center;
    margin: 0 !important;
}
.pdate-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}
.pdate-btn:hover {
    background: #e2e8f0;
}
.pdate-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}
.pdate-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.pdate-day {
    background: transparent;
    border: none;
    border-radius: 6px;
    height: 32px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    color: #1e293b;
    transition: 0.15s;
}
.pdate-day:hover {
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 700;
}
.pdate-day.today {
    border: 1px solid #4f46e5;
    color: #4f46e5;
    font-weight: 700;
}
.pdate-day.selected {
    background: #4f46e5;
    color: #ffffff !important;
    font-weight: 700;
}
.pdate-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-top: 8px;
    display: flex;
    justify-content: center;
}
.pdate-today-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 6px;
    padding: 4px 14px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #4f46e5;
}
.pdate-today-btn:hover {
    background: #e0e7ff;
}
