.abd-staff { max-width: 1200px; }

.abd-staff-bar{
  display:flex;
  gap:12px;
  align-items:center;
  margin: 12px 0 14px;
  flex-wrap: wrap;
}
.abd-staff-bar select{ min-width: 260px; }
.abd-staff-spacer{ flex:1; }

.abd-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin: 10px 0 14px; }
.abd-tab{
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
}
.abd-tab.is-active{ border-color:#2271b1; box-shadow:0 0 0 2px rgba(34,113,177,.15); }

.abd-panel{ background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:14px; padding:12px; }

#abd-staff-calendar{ min-height: 620px; }

.abd-staff-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
@media (max-width: 900px){ .abd-staff-grid{ grid-template-columns: 1fr; } }

.abd-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding:12px;
}

.abd-error{ color:#d63638; }

/* modal (reuse styles if you already have) */
.abd-modal{ position:fixed; inset:0; z-index:9999; }
.abd-modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.35); }
.abd-modal__content{
  position:relative;
  max-width:820px;
  max-height:84vh;
  overflow-y:auto;
  overflow-x:hidden;
  margin:4vh auto;
  background:#fff;
  border-radius:16px;
  padding:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.25);
}

.abd-slot-open .fc-event-main { opacity: 1; }
.abd-slot-closed .fc-event-main { opacity: .65; }

.abd-calendar-filters{
  margin: 10px 0 16px;
}

.abd-calendar-filters label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
}

.abd-slot-headline{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:6px;
}

.abd-slot-summary{
  opacity:.8;
}

.abd-bookings-wrap{
  margin-top:8px;
}

.abd-booking-card{
  background:#fff;
  border:1px solid #e2e4e7;
  border-radius:14px;
  padding:12px 14px;
  margin:0 0 12px;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
}

.abd-booking-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}

.abd-booking-name{
  font-weight:700;
  font-size:14px;
  text-decoration:none;
}

.abd-booking-lang{
  font-size:12px;
  opacity:.8;
  padding:4px 8px;
  border-radius:999px;
  background:#f3f4f6;
}

.abd-booking-icons{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.abd-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  height:30px;
  padding:0 8px;
  border-radius:999px;
  font-size:13px;
  border:1px solid #ddd;
  background:#fff;
  cursor:default;
}

button.abd-badge{
  cursor:pointer;
}

.abd-badge.is-green{
  background:#e8f7ee;
  border-color:#b7e0c4;
}

.abd-badge.is-orange{
  background:#fff2df;
  border-color:#f3c98b;
}

.abd-badge.is-red{
  background:#fdeaea;
  border-color:#efb3b3;
}

.abd-pay-text{
  font-size:12px;
  font-weight:600;
  opacity:.85;
}

.abd-booking-table-wrap{
  overflow-x:auto;
}

.abd-mini-table{
  width:100%;
  border-collapse:collapse;
  font-size:12px;
  margin-top:4px;
}

.abd-mini-table th,
.abd-mini-table td{
  padding:6px 8px;
  border-top:1px solid #eee;
  text-align:left;
  vertical-align:top;
}

.abd-mini-table th{
  white-space:nowrap;
  font-weight:600;
}

.abd-mini-empty,
.abd-no-bookings,
.abd-loading-bookings{
  margin:0;
  opacity:.8;
}

.abd-error-text{
  margin:0;
  color:#d63638;
}

#abd-staff-edit-toggle,
#abd-staff-close,
#abd-staff-save-slot,
#abd-staff-cancel-edit{
  padding:4px 10px !important;
  min-height:auto !important;
  line-height:1.35 !important;
  font-size:12px !important;
  border-radius:8px !important;
}

#abd-staff-close{
  opacity:.9;
}

#abd-staff-edit-toggle{
  background:#f6f7f7;
  border-color:#dcdcde;
}

#abd-staff-save-slot{
  padding:5px 12px !important;
}

#abd-staff-cancel-edit{
  background:#f6f7f7;
}

#abd-staff-slot-bookings{
  margin-bottom:12px;
}

.abd-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  overflow-y:auto;
  padding:12px;
  box-sizing:border-box;
}
.abd-fc-event {
  line-height: 1.2;
}

.abd-fc-main {
  font-weight: 600;
  font-size: 12px;
}

.abd-fc-sub {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 2px;
}

.abd-fc-time{
  font-size:12px;
  line-height:1.2;
  font-weight:600;
  margin-bottom:2px;
}

.abd-fc-main{
  font-size:13px;
  line-height:1.2;
}

.abd-fc-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  width:100%;
  font-size:12px;
  line-height:1.2;
}

.abd-fc-time-inline{
  font-weight:600;
  white-space:nowrap;
}

.abd-fc-main-inline{
  white-space:nowrap;
  text-align:right;
}
.abd-calendar-legend{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin: 10px 0 14px;
}

.abd-legend-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:999px;
  background:#fff;
  font-size:13px;
}

.abd-legend-dot{
  width:12px;
  height:12px;
  border-radius:999px;
  display:inline-block;
  flex:0 0 12px;
}

@media (max-width: 782px){
  .abd-booking-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .abd-slot-headline{
    flex-direction:column;
  }

  .abd-modal__content{
    margin:0 auto;
    max-width:none;
    width:100%;
    max-height:88vh;
  }
}