/* Appointment book recreated from supplied Boghrat modal reference. */
body.reception-mode .reception-status-tabs,
body.reception-mode .reception-summary {
  justify-content: center !important;
  text-align: center !important;
}
body.reception-mode .reception-status-tabs .status-tab,
body.reception-mode .reception-summary .summary-chip {
  justify-content: center !important;
  align-items: center !important;
}
body.reception-mode .reception-primary-filters.room-hidden {
  grid-template-columns: minmax(220px, 1fr) auto !important;
}
@media(max-width:760px){
 body.reception-mode .reception-primary-filters.room-hidden {
  grid-template-columns: minmax(0,1fr) auto !important;
 }
}
.reception-agenda-fab{
 position:fixed!important;
 right:23px!important;left:auto!important;
 bottom:22px!important;
 z-index:64!important;
 display:grid!important;place-items:center!important;
 width:64px!important;height:64px!important;
 padding:15px!important;border-radius:50%!important;
 background:#70bf79!important;color:#fff!important;
 border:4px solid #fff!important;
 box-shadow:0 5px 16px #263b315c!important;
 cursor:pointer!important;
 transition:transform .16s,background .16s;
}
.reception-agenda-fab:hover{transform:translateY(-3px) scale(1.03);background:#56b866!important}
.reception-agenda-fab:focus-visible{outline:3px solid #1768c9!important;outline-offset:3px}
.reception-agenda-fab svg{width:29px!important;height:29px!important;stroke:currentColor!important;fill:none}
body.reception-agenda-open{overflow:hidden!important}
.reception-agenda-overlay[hidden]{display:none!important}
.reception-agenda-overlay{
 position:fixed!important;inset:0!important;z-index:110!important;
 display:flex!important;justify-content:center!important;align-items:center!important;
 padding:16px!important;direction:rtl;
 font-family:inherit;color:#574c49;
}
.reception-agenda-scrim{
 position:absolute;inset:0;background:#342d32bb;backdrop-filter:blur(3px);
}
.reception-agenda-window{
 position:relative;z-index:1;display:flex;flex-direction:column;
 background:#e6dfd7;
 width:min(1420px,99vw);height:min(850px,95vh);
 max-height:95dvh;overflow:hidden;
 border:1px solid #897b74;border-radius:7px;
 box-shadow:0 24px 80px #1c1718a3;
 outline:0;
}
.reception-agenda-top{
 background:#85163f;color:#fff;min-height:39px;
 display:flex;justify-content:space-between;align-items:center;
 padding:5px 13px;flex-shrink:0;gap:12px;
 font-weight:800;font-size:14px;
}
.reception-agenda-close{
 border:2px solid #fff!important;box-shadow:none!important;
 border-radius:50%!important;background:#fff!important;color:#85163f!important;
 font-size:22px!important;line-height:24px!important;
 width:29px!important;height:29px!important;cursor:pointer;
 display:grid;place-items:center;padding:0!important;flex-shrink:0;
}
.reception-agenda-controls{
 background:#fff;display:flex;gap:15px;justify-content:center;align-items:flex-end;
 flex-wrap:wrap;padding:11px 14px;
 box-shadow:0 1px 6px #b6a9a126;flex-shrink:0;z-index:3;
}
.reception-agenda-controls label{
 font-size:11px!important;font-weight:700;display:flex;flex-direction:column;
 gap:5px;min-width:140px;max-width:260px;color:#685e57;
}
.reception-agenda-controls :is(select,input){
 background:#fff!important;color:#414141!important;
 border:1px solid #d5d6dd!important;border-radius:7px!important;
 min-height:37px!important;height:37px!important;
 padding:5px 10px!important;font-size:12px!important;
 width:100%;max-width:100%;
}
.reception-agenda-controls .masiha-date-wrap{
 display:flex;min-width:150px;
}
.reception-agenda-controls .masiha-date-wrap .masiha-jalali-input{min-width:100px;flex:1}
.reception-agenda-nav{display:flex;gap:7px;align-items:center;padding-bottom:0}
.reception-agenda-nav button{
 border:1px solid #d5dde3!important;background:#f5f7f9!important;color:#597482!important;
 border-radius:8px!important;min-height:37px!important;min-width:39px!important;
 padding:5px 10px!important;font-size:12px!important;font-weight:700;cursor:pointer;
}
.reception-agenda-nav button:first-child,
.reception-agenda-nav button:last-child{font-size:22px!important;padding:1px 11px!important}
.reception-agenda-nav button:hover{background:#deedf5!important}
.reception-agenda-book{
 background:#faf8ec;flex:1;min-height:0;overflow:hidden;
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 margin:14px 9px 7px;border:5px solid #444c53;border-radius:7px;
 box-shadow:0 0 0 2px #eeeeeb inset,0 12px 22px #28232126;
 position:relative;
}
.reception-agenda-book::after{
 content:"";pointer-events:none;position:absolute;top:0;bottom:0;
 left:calc(50% - 20px);width:40px;z-index:2;
 background:linear-gradient(to right,transparent,#443c391f 43%,#3b363125 50%,#ffffff7a 64%,transparent);
}
.reception-agenda-page{
 min-width:0;min-height:0;position:relative;display:flex;flex-direction:column;
 padding:22px 30px 23px;background-color:#fffdef;
 background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 25px,#dce0df 26px,#dce0df 27px);
 background-position:0 65px;background-size:100% 27px;overflow:hidden;
}
.reception-agenda-page.page-right{box-shadow:inset 16px 0 21px #8f8c8012}
.reception-agenda-page.page-left{box-shadow:inset -15px 0 25px #857d7920}
.reception-agenda-day{
 min-height:40px;margin-bottom:10px;
 display:flex;gap:10px;align-items:center;justify-content:space-between;
 border-bottom:1px solid #ddd9c3;padding:0 5px 9px;
 background:#fffdf0e5;z-index:1;
}
.reception-agenda-day strong{color:#187f9b;font-size:15px}
.reception-agenda-day span{font-size:11px;color:#ad7f67}
.reception-agenda-events{
 overflow-y:auto;overflow-x:hidden;min-height:0;
 padding:4px 4px 20px;scrollbar-width:thin;z-index:1;
}
.reception-agenda-event{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
 gap:5px 10px;min-height:58px;margin-bottom:8px;padding:7px 11px;
 background:#ffffffd9;border:1px solid #d4dacd;border-right:4px solid #4eafb5;
 border-radius:7px;text-decoration:none!important;color:#454c55!important;
 box-shadow:0 2px 6px #786e5b0d;
}
.reception-agenda-event:hover{background:#e7f8f8;border-color:#74bcc4}
.reception-agenda-event.state-cancelled,.reception-agenda-event.state-absent{border-right-color:#e45f67;opacity:.65}
.reception-agenda-event.state-waiting{border-right-color:#e9a537}
.reception-agenda-event.state-in_service{border-right-color:#2eae75}
.reception-agenda-event-top{display:flex;align-items:center;justify-content:space-between;gap:8px;grid-column:1 / -1;min-width:0}
.reception-agenda-event-top strong{font-size:13px!important;color:#d16951}
.reception-agenda-event-top span{font-size:12px;font-weight:750;overflow-wrap:anywhere}
.reception-agenda-event-details{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;font-size:10px;color:#747069}
.reception-agenda-event-label{padding:2px 6px;border-radius:6px;color:white;font-size:10px;max-width:190px;overflow-wrap:anywhere}
.reception-agenda-event-status{font-size:10px;color:#896353}
.reception-agenda-page-number{
 position:absolute;bottom:9px;inset-inline-start:18px;z-index:1;
 width:27px;height:27px;border-radius:6px;background:#09a8bb;
 color:#fff;display:grid;place-items:center;font-weight:850;font-size:13px;
}
.reception-agenda-loading,.reception-agenda-error{
 grid-column:1/-1;align-self:center;justify-self:center;
 font-size:13px;padding:20px;color:#725f5b;z-index:3;text-align:center;
}
.reception-agenda-error{color:#ae3542}
.reception-agenda-empty{font-size:11px;text-align:center;color:#aaa18a;margin:70px 8px;padding:15px;background:#fffce5bb}
.reception-agenda-footer{
 min-height:33px;display:flex;justify-content:space-between;align-items:center;gap:10px;
 padding:3px 15px 7px;flex-shrink:0;font-size:11px;color:#76726e;
}
.reception-agenda-footer a{color:#087e99;font-size:12px;font-weight:700}
@media(max-width:850px){
 .reception-agenda-overlay{padding:5px!important}
 .reception-agenda-window{height:96dvh;max-height:96dvh}
 .reception-agenda-controls{gap:8px;padding:8px}
 .reception-agenda-controls label{min-width:115px;flex:1}
 .reception-agenda-page{padding:13px 10px 24px}
 .reception-agenda-book{margin:7px 3px 4px;border-width:3px}
 .reception-agenda-day strong{font-size:12px}
 .reception-agenda-event{padding:6px;grid-template-columns:1fr}
}
@media(max-width:560px){
 .reception-agenda-book{grid-template-columns:minmax(0,1fr);overflow-y:auto}
 .reception-agenda-page{min-height:330px;max-height:none;overflow:visible}
 .reception-agenda-page.page-left{border-top:3px solid #ccc}
 .reception-agenda-book::after{display:none}
 .reception-agenda-events{overflow:visible}
 .reception-agenda-fab{width:58px!important;height:58px!important;right:13px!important;left:auto!important;bottom:13px!important}
 .reception-agenda-controls label{min-width:135px}
 .reception-agenda-footer>span{display:none}
}
@media print{
 .reception-agenda-fab,.reception-agenda-overlay{display:none!important}
}