/* TebTok — تقویم شمسی. 7.7.0 */
.crp-jdp{position:relative;display:block}
.crp-jdp-input{width:100%;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231F67ED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%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 12px center;padding-left:38px!important}
.crp-jdp-input::placeholder{color:#5d6977}
.crp-jdp-clear{position:absolute;top:50%;left:34px;transform:translateY(-50%);width:22px;height:22px;padding:0;border:0;border-radius:50%;background:#eef2f8;color:#5d6977;font-size:16px;line-height:1;cursor:pointer}
.crp-jdp-clear:hover{background:#e0e7f0;color:#c7343a}

.crp-jdp-panel{position:absolute;z-index:100000;width:268px;padding:12px;border:1px solid #DDE8F3;border-radius:14px;background:#fff;box-shadow:0 18px 48px rgba(18,62,124,.18);font-family:"Yekan Bakh",Tahoma,Arial,sans-serif;direction:rtl;text-align:center;color:#2F3A45}
.crp-jdp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.crp-jdp-title{flex:1}
.crp-jdp-title button,.crp-jdp-title b{border:0;background:none;font:inherit;font-weight:800;font-size:14px;color:#123E7C;cursor:pointer;padding:4px 8px;border-radius:8px}
.crp-jdp-title button:hover{background:#EAF2FF}
.crp-jdp-nav{width:32px;height:32px;border:1px solid #DDE8F3;border-radius:9px;background:#fff;color:#1F67ED;font-size:18px;line-height:1;cursor:pointer}
.crp-jdp-nav:hover{background:#EAF2FF;border-color:#1F67ED}
.crp-jdp-week{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:4px}
.crp-jdp-week span{font-size:12px;font-weight:700;color:#5d6977;padding:4px 0}
.crp-jdp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.crp-jdp-empty{visibility:hidden}
.crp-jdp-day{aspect-ratio:1;min-height:32px;border:1px solid transparent;border-radius:9px;background:#fff;color:#2F3A45;font:inherit;font-size:13px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.crp-jdp-day:hover{background:#EAF2FF;border-color:#72DFD5}
.crp-jdp-day.is-today{border-color:#1DD0BD;font-weight:800;color:#123E7C}
.crp-jdp-day.is-selected{background:#1F67ED;border-color:#1F67ED;color:#fff;font-weight:800}
.crp-jdp-foot{margin-top:8px;border-top:1px solid #eef2f8;padding-top:8px}
.crp-jdp-foot button{border:0;background:#EAF2FF;color:#1F67ED;font:inherit;font-weight:700;font-size:13px;padding:7px 16px;border-radius:9px;cursor:pointer}
.crp-jdp-foot button:hover{background:#d9e8ff}
.crp-jdp-years{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.crp-jdp-years span{font-weight:800;font-size:15px;color:#123E7C}
.crp-jdp-months{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.crp-jdp-month{padding:10px 4px;border:1px solid #DDE8F3;border-radius:9px;background:#fff;color:#2F3A45;font:inherit;font-size:13px;cursor:pointer}
.crp-jdp-month:hover{background:#EAF2FF;border-color:#1F67ED}
.crp-jdp-month.is-selected{background:#1F67ED;border-color:#1F67ED;color:#fff;font-weight:800}
@media(max-width:480px){.crp-jdp-panel{width:min(300px,calc(100vw - 24px))}}

/* 8.2.5 — روزها و ماه‌های بعد از سقف (مثلاً تاریخ آینده) */
.crp-jdp-day:disabled,.crp-jdp-month:disabled,.crp-jdp-nav:disabled{opacity:.32;cursor:not-allowed;background:transparent}
