/* same look as MU plugin */
.sc-app{max-width:100%;padding:6px 10px;}
.sc-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #eee;}
.sc-left,.sc-center,.sc-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.sc-title{font-weight:800;font-size:15px;opacity:.95;margin-left:6px;}
.sc-btn{border:1px solid #ddd;background:#fff;border-radius:10px;padding:8px 10px;cursor:pointer;font-weight:700;}
.sc-btn:hover{background:#f5f5f5;}
.sc-btn.is-active{background:#111;color:#fff;border-color:#111;}

.sc-cols{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:0;
  border:1px solid #dcdcdc;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.sc-colcard{border:0;border-right:1px solid #e6e6e6;border-radius:0;overflow:hidden;background:transparent;}
.sc-colcard:last-child{ border-right:0; }
.sc-colhead{padding:10px 12px;background:#efefef;font-weight:900;letter-spacing:.3px;text-align:center;border-bottom:1px solid #e2e2e2;text-transform:uppercase;}
.sc-colbody{ padding:0; }

.fc .fc-toolbar{display:none;}
.fc .fc-timegrid-slot{height:1.6em;}
.fc .fc-scrollgrid{border:0;}
.fc .fc-scrollgrid-section-header > *{border:0;}
.fc .fc-scrollgrid-section-body > *{border:0;}

/* MOBILE: stack halls + show hours in EACH hall */
@media (max-width:980px){
  .sc-cols{grid-template-columns:1fr !important;}
  .sc-colcard .fc .fc-timegrid-axis,
  .sc-colcard .fc .fc-timegrid-axis-frame{display:table-cell !important;}
  .sc-colcard .fc .fc-timegrid-slot-label{opacity:1 !important;}
}

/* DESKTOP: show hours only in first column */
@media (min-width:981px){
  .sc-colcard:not(:first-child) .fc .fc-timegrid-slot-label{opacity:0 !important;}
}

/* KEY FIX: NO inner scrollbars (page scroll only) */
#sc-day-cols .fc-scroller,
#sc-day-cols .fc-scroller-harness,
#sc-day-cols .fc-timegrid-body,
#sc-day-cols .fc-timegrid-body .fc-scroller,
#sc-day-cols .fc-scroller-liquid-absolute{
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
#sc-day-cols .fc-scroller-liquid-absolute{
  position: static !important;
}

/* Event box */
.fc .fc-timegrid-event .fc-event-main{padding:6px 8px;}
.fc .fc-event-title{font-weight:800;}
.sc-ev-note{margin-top:4px;font-size:12px;line-height:1.2;opacity:.9;white-space:normal;}

/* Modal */
.sc-modal{position:fixed;inset:0;z-index:999999;}
.sc-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);}
.sc-box{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,92vw);background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.25);}
.sc-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#f5f5f5;}
.sc-x{border:0;background:transparent;font-size:22px;cursor:pointer;}
.sc-body{padding:14px;}
.sc-body label{display:block;font-size:13px;margin-bottom:6px;opacity:.85;}
.sc-body input,.sc-body textarea,.sc-body select{width:100%;padding:10px 10px;border:1px solid #ddd;border-radius:10px;}
.sc-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;}
.sc-actions{display:flex;justify-content:space-between;gap:10px;margin-top:14px;}
.sc-primary{border:0;padding:10px 12px;border-radius:10px;cursor:pointer;background:#1f6feb;color:#fff;font-weight:800;}
.sc-danger{border:0;padding:10px 12px;border-radius:10px;cursor:pointer;background:#d1242f;color:#fff;font-weight:800;}

.sc-admin{max-width:100%;padding:10px 0;}
.sc-admin-card{border:1px solid #e5e5e5;border-radius:12px;padding:12px;background:#fff;}
.sc-users-table{width:100%;border-collapse:collapse;margin-top:8px;}
.sc-users-table td,.sc-users-table th{border-bottom:1px solid #eee;padding:8px;font-size:13px;text-align:left;}

