/* Form Architect - modern appointment calendar */
.fa-appointment-modern{
  border:0;
  background:transparent;
  padding:0;
}
.fa-appointment-modern .fa-appointment-row{
  display:block;
}
.fa-appointment-modern .fa-appointment-service{
  width:100%;
  margin-bottom:14px;
  min-height:46px;
  border-radius:14px;
}
.fa-appointment-modern .fa-appointment-date,
.fa-appointment-modern .fa-appointment-time{
  display:none!important;
  position:absolute!important;
  left:-99999px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
.fa-modern-appointment{
  display:grid;
  grid-template-columns:minmax(300px,1fr) minmax(260px,.82fr);
  gap:18px;
  align-items:start;
  margin-top:6px;
}
.fa-modern-calendar,
.fa-modern-slots{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:18px;
  box-shadow:0 18px 50px rgba(15,23,42,.08);
}
.fa-modern-calendar-head{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.fa-modern-month{
  text-align:center;
  line-height:1.25;
}
.fa-modern-month strong{
  display:block;
  font-size:18px;
  color:#0f172a;
  font-weight:950;
  letter-spacing:-.02em;
}
.fa-modern-month span{
  display:block;
  margin-top:3px;
  font-size:12px;
  color:#64748b;
  font-weight:800;
}
.fa-modern-calendar-head button,
.fa-modern-nav{
  width:42px;
  height:42px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#f8fafc;
  color:#0f172a;
  font-size:25px;
  line-height:1;
  cursor:pointer;
  font-weight:900;
  transition:.16s ease;
}
.fa-modern-calendar-head button:hover,
.fa-modern-nav:hover{
  border-color:#2563eb;
  background:#eff6ff;
  color:#1d4ed8;
  transform:translateY(-1px);
}
.fa-modern-weekdays,
.fa-modern-days{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:8px;
}
.fa-modern-weekdays{
  margin-bottom:10px;
}
.fa-modern-weekdays span{
  text-align:center;
  font-size:11px;
  color:#94a3b8;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.fa-modern-day,
.fa-modern-day-empty{
  min-height:44px;
  border-radius:14px;
}
.fa-modern-day{
  border:1px solid transparent;
  background:#f8fafc;
  color:#334155;
  cursor:pointer;
  font-weight:900;
  font-size:14px;
  transition:.16s ease;
}
.fa-modern-day:hover:not(:disabled){
  border-color:#93c5fd;
  background:#eff6ff;
  color:#1d4ed8;
  transform:translateY(-1px);
}
.fa-modern-day.is-today:not(.is-selected){
  position:relative;
  border-color:#bfdbfe;
  background:#eff6ff;
  color:#1d4ed8;
}
.fa-modern-day.is-today:not(.is-selected)::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:6px;
  width:5px;
  height:5px;
  transform:translateX(-50%);
  border-radius:999px;
  background:#2563eb;
}
.fa-modern-day.is-selected{
  background:#2563eb;
  border-color:#2563eb;
  color:#fff;
  box-shadow:0 10px 24px rgba(37,99,235,.25);
}
.fa-modern-day.is-disabled,
.fa-modern-day:disabled{
  opacity:1;
  cursor:not-allowed;
  background:#f1f5f9;
  color:#cbd5e1;
}
.fa-modern-slots{
  min-height:100%;
}
.fa-modern-slots-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid #e5e7eb;
}
.fa-modern-slots-head strong{
  display:block;
  font-size:18px;
  line-height:1.2;
  color:#0f172a;
  font-weight:950;
  letter-spacing:-.02em;
}
.fa-modern-slots-head span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:right;
  color:#2563eb;
  background:#eff6ff;
  border:1px solid #dbeafe;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.fa-modern-slot-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  max-height:420px;
  overflow:auto;
  padding-right:2px;
}
.fa-modern-slot{
  border:1px solid #bfdbfe;
  border-radius:14px;
  background:#f8fbff;
  color:#1d4ed8;
  padding:13px 10px;
  cursor:pointer;
  font-weight:950;
  font-size:14px;
  line-height:1.2;
  text-align:center;
  transition:.16s ease;
}
.fa-modern-slot span{
  display:block;
}
.fa-modern-slot:hover{
  border-color:#2563eb;
  background:#eff6ff;
  color:#1d4ed8;
  transform:translateY(-1px);
}
.fa-modern-slot.is-selected{
  background:#2563eb;
  border-color:#2563eb;
  color:#fff;
  box-shadow:0 10px 24px rgba(37,99,235,.24);
}
.fa-modern-empty{
  border:1px dashed #cbd5e1;
  background:#f8fafc;
  color:#64748b;
  border-radius:18px;
  padding:18px;
  font-size:14px;
  line-height:1.5;
  font-weight:700;
}
@media(max-width:900px){
  .fa-modern-appointment{grid-template-columns:1fr}
  .fa-modern-slot-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible}
}
@media(max-width:520px){
  .fa-modern-calendar,.fa-modern-slots{padding:14px;border-radius:20px}
  .fa-modern-calendar-head{grid-template-columns:38px minmax(0,1fr) 38px;gap:8px}
  .fa-modern-calendar-head button,.fa-modern-nav{width:38px;height:38px;border-radius:12px}
  .fa-modern-weekdays,.fa-modern-days{gap:5px}
  .fa-modern-day,.fa-modern-day-empty{min-height:38px;border-radius:11px;font-size:13px}
  .fa-modern-slots-head{display:block}
  .fa-modern-slots-head span{margin-top:8px;text-align:left;white-space:normal}
  .fa-modern-slot-list{grid-template-columns:1fr}
}


