/* AxonZero weekday-only demo booking calendar: inherits existing modal styling. */
#fp-demo-modal .fp-modal{box-sizing:border-box!important;width:min(450px,calc(100vw - 24px))!important;max-width:min(450px,calc(100vw - 24px))!important;max-height:calc(100dvh - 30px)!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;}
#azdb-calendar-wrap{position:relative;}
#azdb-date-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;padding:13px 15px;cursor:pointer;border:1px solid #e1e6ee;border-radius:12px;background:#fbfcff;color:#212c40;font:600 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left;}
#azdb-date-trigger:after{content:"";display:block;width:9px;height:9px;border-right:1.8px solid #7c889a;border-bottom:1.8px solid #7c889a;transform:rotate(45deg) translateY(-3px);margin-left:12px;flex-shrink:0;}
#azdb-date-trigger:hover{border-color:#a8b6ca;background:#fff;}
#azdb-date-trigger:focus-visible,#azdb-calendar button:focus-visible{outline:2px solid #536e99;outline-offset:2px;}
.azdb-date-hint{font:500 11px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#7c889b;margin:8px 1px 0;}
#azdb-calendar{margin-top:12px;border:1px solid #e5eaf2;background:#fff;border-radius:14px;padding:13px;box-shadow:0 8px 26px rgba(20,37,72,.075);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
#azdb-calendar[hidden],.azdb-cancel-link[hidden]{display:none!important;}
.azdb-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 11px;}
.azdb-calendar-head strong{font-size:13px;font-weight:720;color:#1c293d;text-transform:capitalize;}
.azdb-calendar-head button{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;border:1px solid #e7ebf2;background:#fff;font-size:23px;line-height:1;color:#3d4c63;cursor:pointer;}
.azdb-calendar-head button:hover:not(:disabled){background:#f4f6fa;}
.azdb-calendar-head button:disabled{opacity:.25;cursor:not-allowed;}
.azdb-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;}
.azdb-weekday{text-align:center;font-size:10px;font-weight:750;color:#687890;padding:6px 0;}
.azdb-weekday.azdb-weekend{color:#c1c7d1;}
.azdb-empty-day{min-height:34px;}
.azdb-calendar-day{border:0;border-radius:8px;background:#fff;color:#253347;min-height:35px;padding:0;font-size:12px;font-weight:600;cursor:pointer;}
.azdb-calendar-day:not(:disabled):hover{background:#eaf0fa;}
.azdb-calendar-day.azdb-selected{background:#17213a!important;color:#fff!important;}
.azdb-calendar-day:disabled{background:#fafbfc;color:#c1c8d1;cursor:not-allowed;}
.azdb-calendar-day.azdb-weekend:disabled{background:#f3f5f8;color:#c3c8d1;}
#fp-demo-modal .fp-time-btn:disabled{background:#f4f5f7!important;color:#adb7c4!important;opacity:.62;cursor:not-allowed!important;text-decoration:line-through;}
.azdb-cancel-link{display:inline-flex;margin:7px 0 0;padding:8px 4px;color:#4e627e;text-decoration:underline;font-size:12px;font-weight:600;}
@media(max-width:480px){#fp-demo-modal .fp-modal{padding:24px!important;width:calc(100vw - 22px)!important;max-width:calc(100vw - 22px)!important;border-radius:18px!important}.azdb-calendar-day{min-height:32px}#azdb-calendar{padding:10px}.fp-group{margin-bottom:15px!important}}

#fp-demo-modal .azdb-personal-group{margin-bottom:17px!important;}


/* Elegant, spacious two-column form for desktops; mobile retains a single column. */
#fp-demo-modal .fp-modal{
  width:min(820px,calc(100vw - 36px))!important;
  max-width:min(820px,calc(100vw - 36px))!important;
  padding:30px 34px 30px!important;
  border-radius:20px!important;
}
#fp-demo-modal .azdb-form-layout{
  display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  gap:17px;align-items:stretch;margin:23px 0 14px;
}
#fp-demo-modal .azdb-form-panel{
  min-width:0;padding:22px 23px 18px;border:1px solid #e8ecf3;
  border-radius:15px;background:#fff;box-sizing:border-box;
}
#fp-demo-modal .azdb-form-schedule{background:linear-gradient(150deg,#f7f9fd 0%,#fff 100%);}
#fp-demo-modal .azdb-form-details{background:#fff;}
#fp-demo-modal .azdb-panel-heading{font:750 15px/1.35 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.02em;color:#202b3e;margin:0 0 21px;}
#fp-demo-modal .azdb-form-panel .fp-group{margin-bottom:18px!important;}
#fp-demo-modal .azdb-form-panel .fp-group:last-child{margin-bottom:0!important;}
#fp-demo-modal .azdb-form-panel .fp-input{width:100%;box-sizing:border-box;}
#fp-demo-modal .azdb-form-footer{display:flex;flex-direction:column;align-items:stretch;margin:0 1px;}
#fp-demo-modal .azdb-form-footer .fp-submit{width:100%;min-height:52px;}
#fp-demo-modal .azdb-form-footer .fp-message{width:100%;}
#fp-demo-modal .azdb-form-schedule{position:relative;z-index:2;}
#fp-demo-modal .azdb-form-schedule #azdb-calendar{
  position:absolute;top:calc(100% + 8px);left:0;right:0;
  box-shadow:0 14px 30px rgba(20,37,72,.16);z-index:30;
}
#fp-demo-modal .azdb-calendar-head{min-height:38px;}
#fp-demo-modal .azdb-calendar-head button{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;
  border-radius:11px!important;cursor:pointer!important;font-size:27px!important;line-height:1!important;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  position:relative;z-index:3;
}
#fp-demo-modal .azdb-calendar-head button:not(:disabled):active{background:#e7ecf5!important;}
#fp-demo-modal .azdb-calendar-head strong{font-size:14px;white-space:nowrap;}
#fp-demo-modal .azdb-spam-tip{
  margin:17px auto 0;padding:11px 12px 0;border-top:1px solid #eff1f5;
  max-width:380px;color:#8995a6;font:500 12px/1.65 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-align:center;
}
#fp-demo-modal .fp-modal.azdb-success-modal{
  width:min(510px,calc(100vw - 30px))!important;
  max-width:min(510px,calc(100vw - 30px))!important;
  padding:34px 30px!important;
}
@media(max-width:710px){
  #fp-demo-modal .fp-modal{
    width:calc(100vw - 22px)!important;max-width:calc(100vw - 22px)!important;
    padding:24px!important;border-radius:18px!important;
  }
  #fp-demo-modal .azdb-form-layout{display:flex;flex-direction:column;gap:13px;margin:19px 0 18px;}
  #fp-demo-modal .azdb-form-panel{padding:18px 17px 16px;border-radius:13px;}
  #fp-demo-modal .azdb-panel-heading{font-size:14px;margin-bottom:15px;}
  #fp-demo-modal .azdb-form-panel .fp-group{margin-bottom:15px!important;}
  #fp-demo-modal .azdb-calendar-head button{
    width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
  }
  #fp-demo-modal .azdb-form-schedule #azdb-calendar{
    position:relative;top:auto;left:auto;right:auto;box-shadow:0 4px 18px rgba(20,37,72,.05);
  }
  #fp-demo-modal #azdb-calendar{overflow:visible!important;}
}
@media(max-width:400px){
  #fp-demo-modal .azdb-form-panel{padding:16px 13px 15px;}
  #fp-demo-modal .azdb-calendar-head strong{font-size:13px;}
}
@media(prefers-reduced-motion:reduce){#fp-demo-modal *{scroll-behavior:auto!important;}}
