.razfb-jdp-wrap{position:relative;display:block;width:100%;max-width:100%;direction:rtl}.razfb-jdp-wrap>input.razfb-jalali-date{width:100%;box-sizing:border-box;padding-left:42px!important}.razfb-jdp-trigger{position:absolute;left:5px;top:50%;transform:translateY(-50%);z-index:2;width:32px;height:32px;border:0;background:transparent;color:#475569;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:6px;padding:6px}.razfb-jdp-trigger:hover,.razfb-jdp-trigger:focus{background:#e2e8f0;color:#0f766e;outline:2px solid transparent}.razfb-jdp-trigger svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.razfb-jdp-popup{position:fixed;top:0;left:0;width:276px;max-width:min(90vw,320px);padding:12px;background:#fff;border:1px solid #dbe3ed;border-radius:12px;box-shadow:0 12px 35px rgba(15,23,42,.18);z-index:999999;color:#1e293b;font:13px/1.5 Tahoma,Arial,sans-serif;direction:rtl;box-sizing:border-box}.razfb-jdp-popup[hidden]{display:none!important}.razfb-jdp-head{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:6px;margin-bottom:10px;text-align:center}.razfb-jdp-head strong{font-size:14px;font-weight:700}.razfb-jdp-head button,.razfb-jdp-foot button{border:1px solid #e2e8f0;background:#f8fafc;color:#334155;border-radius:7px;min-height:32px;cursor:pointer;font:inherit}.razfb-jdp-head button{font-size:20px;line-height:1}.razfb-jdp-head button:hover,.razfb-jdp-foot button:hover{background:#ecfdf5;border-color:#99f6e4;color:#0f766e}.razfb-jdp-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));direction:rtl;gap:3px;text-align:center;margin-bottom:5px;color:#64748b;font-weight:700}.razfb-jdp-week span{padding:4px 0}.razfb-jdp-days{display:flex;flex-direction:column;gap:3px;direction:rtl}.razfb-jdp-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));direction:rtl;gap:3px;text-align:center}.razfb-jdp-day,.razfb-jdp-empty{display:block;box-sizing:border-box;width:100%;min-width:0;height:31px}.razfb-jdp-day{border:1px solid transparent;border-radius:7px;background:#fff;color:#1e293b;cursor:pointer;font:inherit;padding:0}.razfb-jdp-day:hover{background:#ecfdf5;border-color:#99f6e4;color:#0f766e}.razfb-jdp-day.is-today{border-color:#0f766e;color:#0f766e;font-weight:700}.razfb-jdp-day.is-selected{background:#0f766e;border-color:#0f766e;color:#fff}.razfb-jdp-foot{display:flex;justify-content:center;border-top:1px solid #f1f5f9;margin-top:9px;padding-top:9px}.razfb-jdp-foot button{padding:3px 18px}.razfb-jdp-open{z-index:99999}.razfb-jdp-wrap input:focus{outline-color:#0f766e}

/* Version 0.4.3: direct month/year navigation for long-range dates (e.g. birthdays). */
.razfb-jdp-head{grid-template-columns:28px minmax(0,1fr) minmax(0,1fr) 28px;gap:5px}
.razfb-jdp-select-label{display:block;min-width:0;margin:0}
.razfb-jdp-head select{display:block;width:100%;min-width:0;max-width:100%;height:33px;margin:0;padding:2px 5px;border:1px solid #e2e8f0;border-radius:7px;background:#f8fafc;color:#334155;font:12px Tahoma,Arial,sans-serif;line-height:1.4;cursor:pointer}
.razfb-jdp-head select:focus{outline:2px solid #99f6e4;border-color:#0f766e}
.razfb-jdp-head button{min-width:28px;padding:0}

/* Version 0.4.4: fixed weekday alignment with explicit RTL calendar rows. */
.razfb-jdp-row>*{min-width:0}

/* 0.6.21: datepicker is portalled to body and positioned against the viewport to avoid clipping inside single-step forms. */
.razfb-jdp-popup{z-index:2147483000!important;max-height:calc(100vh - 20px);overflow-y:auto;overscroll-behavior:contain}
