@import url('../fonts/vazirmatn-fontface.css');
.tn-calendar,.tn-calendar *{box-sizing:border-box}
html[lang=fa] body,html[lang=fa] button,html[lang=fa] input,html[lang=fa] select,html[lang=fa] textarea{font-family:Vazirmatn,Tahoma,sans-serif!important}
.tn-time-field{display:grid;grid-template-columns:1fr 18px 1fr;align-items:center;gap:6px;direction:ltr;text-align:center;min-width:0}.tn-time-field select{font-family:Vazirmatn,Tahoma,sans-serif!important;direction:rtl;min-width:0}
.tn-date-field{display:flex;align-items:stretch;gap:6px;width:100%;min-width:0;position:relative}.tn-date-field input{flex:1;width:0!important;min-width:0;cursor:pointer;font-family:Vazirmatn,Tahoma,sans-serif!important;direction:ltr;text-align:center}.tn-date-field .tn-date-trigger{position:static!important;display:grid;place-items:center;flex:0 0 40px;width:40px;min-height:40px;max-height:54px;margin:0!important;padding:0!important;border:1px solid #afcfc7;background:#e7f5ef;color:#096b59;border-radius:9px;cursor:pointer;font:24px Vazirmatn,Tahoma,sans-serif!important;box-shadow:none}.tn-date-trigger:disabled{opacity:.4;cursor:default}.tn-date-field.tn-date-invalid input{border:2px solid #b42318!important}.tn-calendar{width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px;border:1px solid #d5e1de;border-radius:18px;background:#fff;color:#173c37;box-shadow:0 20px 80px #122d3640;font:14px/1.8 Vazirmatn,Tahoma,sans-serif;overflow:auto;margin:auto;direction:rtl}.tn-calendar::backdrop{background:#112d3659;backdrop-filter:blur(2px)}.tn-calendar [hidden]{display:none!important}.tn-calendar-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.tn-calendar-title strong{font-size:15px}.tn-calendar button{font:inherit;border:0;border-radius:8px;cursor:pointer;color:inherit;background:#edf5f1;min-height:36px;padding:5px 9px;margin:0;box-shadow:none;line-height:1.6}.tn-calendar button:hover{background:#d5eee1}.tn-calendar button:focus-visible,.tn-calendar select:focus-visible{outline:3px solid #dab456;outline-offset:2px}.tn-calendar-title button{font-size:24px;padding:0 12px}.tn-calendar-nav{display:grid;grid-template-columns:34px 1fr 1fr 34px;gap:7px;margin-bottom:12px}.tn-calendar select{background:#f6faf8;border:1px solid #c7dcd2;border-radius:8px;padding:5px 8px;width:100%;min-width:0;font:inherit;color:inherit;direction:rtl}.tn-calendar-weekdays,.tn-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.tn-calendar-weekdays{color:#64766c;font-size:12px;margin-bottom:5px}.tn-calendar-days button{height:37px;background:#f5f8f6;padding:0}.tn-calendar-days [aria-current=date]{box-shadow:inset 0 0 0 2px #449b7c}.tn-calendar-days [aria-selected=true]{background:#087d61;color:#fff}.tn-calendar button:disabled{opacity:.28;cursor:not-allowed}.tn-calendar-time{display:grid;grid-template-columns:1fr 1fr 16px 1fr;gap:8px;align-items:center;margin-top:15px}.tn-calendar-selection{color:#49675e;font-size:13px;text-align:center;min-height:24px;margin:12px 0}.tn-calendar-actions{display:flex;gap:7px;flex-wrap:wrap}.tn-calendar-actions button{flex:1;white-space:nowrap;font-size:12px}.tn-calendar-actions .tn-calendar-apply{background:#087d61;color:white}.tn-calendar-actions .tn-calendar-apply:hover{background:#075e4b}@media print{.tn-calendar,.tn-date-trigger{display:none!important}}
