/* تقویم شمسی — تم تیره طلایی ONYX */
.jalali-display-input {
    width: 100%; padding: 12px 15px; border-radius: 12px; border: 1px solid rgba(212, 168, 75, .22);
    background-color: rgba(255, 255, 255, .045); color: #f2ede3; font-family: inherit; font-size: .92rem; cursor: pointer;
    transition: border-color .2s, box-shadow .2s; min-height: 46px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d4a84b' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: left 14px center; padding-left: 40px;
}
.jalali-display-input:focus, .jalali-display-input:hover { outline: none; border-color: #d4a84b; box-shadow: 0 0 0 3px rgba(212, 168, 75, .16); }
.jalali-native-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.jalali-picker-popup {
    z-index: 9999; width: 320px; max-width: calc(100vw - 20px); background: rgba(18, 16, 12, .98); border: 1px solid rgba(212, 168, 75, .45);
    border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .75); padding: 16px; font-family: 'Vazirmatn', Tahoma, sans-serif; direction: rtl; animation: jpFadeIn .18s ease; color: #f2ede3;
}
@keyframes jpFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.jp-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.jp-title { display: flex; gap: 6px; align-items: center; }
.jp-select { background: rgba(212, 168, 75, .1); border: 1px solid rgba(212, 168, 75, .3); color: #f1d58a; border-radius: 8px; padding: 5px 8px; font-family: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; max-height: 200px; min-height: 0; background-image: none; padding-left: 8px; }
.jp-select option { background: #15130f; color: #f2ede3; }
.jp-select:focus { outline: none; border-color: #d4a84b; box-shadow: none; }
.jp-nav { background: rgba(212, 168, 75, .12); border: none; color: #f1d58a; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: .8rem; transition: background .2s; }
.jp-nav:hover { background: rgba(212, 168, 75, .28); }
.jp-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; color: #a39b8a; font-size: .75rem; margin-bottom: 6px; }
.jp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.jp-day { background: transparent; border: none; color: #f2ede3; padding: 8px 0; border-radius: 10px; cursor: pointer; font-size: .85rem; font-family: inherit; transition: background .2s, color .2s; }
.jp-day:hover { background: rgba(212, 168, 75, .22); }
.jp-day.jp-today { border: 1px solid #d4a84b; font-weight: 700; color: #f1d58a; }
.jp-time { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(212, 168, 75, .25); color: #a39b8a; font-size: .82rem; }
.jp-time select { background: rgba(255, 255, 255, .06); border: 1px solid rgba(212, 168, 75, .25); color: #f2ede3; border-radius: 8px; padding: 5px 8px; font-family: inherit; min-height: 0; background-image: none; padding-left: 8px; }
.jp-confirm { margin-inline-start: auto; background: linear-gradient(135deg, #f6dc95, #b98a2e); color: #1a1205; border: none; padding: 6px 16px; border-radius: 999px; cursor: pointer; font-size: .78rem; font-weight: 800; font-family: inherit; }
.jp-today-btn { display: block; width: 100%; margin-top: 12px; background: rgba(212, 168, 75, .1); border: 1px solid rgba(212, 168, 75, .35); color: #f1d58a; padding: 8px; border-radius: 10px; cursor: pointer; font-family: inherit; font-size: .8rem; font-weight: 600; }
@media (max-width: 480px) { .jalali-picker-popup { width: calc(100vw - 24px); } }
