/* external-common.css - optimized unified UI */
:root {
  --aw-bg: #000;
  --aw-fg: #fff;
  --aw-red: #c41f3a;
  --aw-gray: #222323;
  --aw-gray-2: #323232;
  --aw-border: #2a2b2c;
  --aw-muted: #9ca3af;
  --aw-ok-bg: #f0fdf4;
  --aw-ok-brd: #bbf7d0;
  --aw-ok-fg: #166534;
  --aw-err-bg: #fef2f2;
  --aw-err-brd: #fecaca;
  --aw-err-fg: #7f1d1d;
  --aw-radius: 10px;
}

.fc .fc-timegrid-slot {
  height: 2.5em;
}

.fc-timegrid-event .fc-event-main {
    padding: 2px 2px 0px;
    font-size: 12px;
}

/* Shared cards for external login/terms */
.aw-external .aw-card,
.login-card {
  background: #000 !important;
  color: #fff;
}

.aw-card__header {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 1.3em;
}

/* Shared buttons */
.button,
.button:visited,
.btn--primary,
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border: none;
  border-radius: var(--aw-radius);
  text-decoration: none;
  cursor: pointer;
}

.btn--primary,
.btn-brand {
  background: var(--aw-red) !important;
  color: #fff !important;
  font-weight: 600;
}

.btn--primary:hover,
.btn-brand:hover {
  background: #222323 !important;
  color: #fff !important;
}

/* Force unified primary button color for Bootstrap buttons in plugin views */
.awf .btn.btn-primary,
.aw-school-dashboard .btn.btn-primary,
.aw-school-register .btn.btn-primary,
.aw-order-checkout .btn.btn-primary,
.aw-order-transfer .btn.btn-primary,
.aw-external .btn.btn-primary {
  background: var(--aw-red) !important;
  border-color: var(--aw-red) !important;
  color: #fff !important;
}

.awf .btn.btn-primary:hover,
.aw-school-dashboard .btn.btn-primary:hover,
.aw-school-register .btn.btn-primary:hover,
.aw-order-checkout .btn.btn-primary:hover,
.aw-order-transfer .btn.btn-primary:hover,
.aw-external .btn.btn-primary:hover {
  background: #222323 !important;
  border-color: #222323 !important;
  color: #fff !important;
}

.btn--link {
  border: none !important;
  background: transparent !important;
  color: #fff !important;
  text-decoration: underline !important;
}

.btn--link:hover {
  color: var(--aw-red) !important;
}

.btn-outline-secondary {
  border-color: #343434;
  color: #ddd;
  background: #1b1b1b;
}

.btn-outline-secondary:hover {
  background: #262626;
  color: #fff;
}

.btn-upload {
  background: #c21f37;
  color: #fff;
  border: none;
  border-radius: var(--aw-radius);
  font-weight: 600;
  padding: 10px 16px;
  transition: background-color .2s ease-in-out;
}

.btn-upload:hover {
  background: #a5182f;
  color: #fff;
}

.custom-file-upload .btn {
  background-color: var(--aw-red);
  border-color: #444;
  color: #ddd;
  transition: .2s ease;
}

.custom-file-upload .btn:hover {
  background-color: #222;
  border-color: #666;
  color: #fff;
}

.custom-file-upload small {
  font-size: .85rem;
}

/* Shared form controls */
.form-control {
  background: #151515;
  border: 1px solid #343434;
  color: #fff;
}

.form-control:focus {
  border-color: #c2273a;
  box-shadow: 0 0 0 .2rem rgba(194, 39, 58, .25);
}

.custom-check .form-check-input,
.custom-check-red .form-check-input {
  background-color: transparent;
  border: 2px solid #b71c32;
  width: 1.1em;
  height: 1.1em;
  margin-top: .2em;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.custom-check .form-check-input:checked,
.custom-check-red .form-check-input:checked {
  background-color: #b71c32;
  border-color: #b71c32;
}

.custom-check .form-check-input:focus,
.custom-check-red .form-check-input:focus {
  box-shadow: 0 0 0 .15rem rgba(183, 28, 50, .4);
}

.custom-check .form-check-label,
.custom-check-red .form-check-label {
  color: #fff;
  font-weight: 600;
  margin-left: .35em;
  cursor: pointer;
}

.form-check-label {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#collapseInstructors #instr-wrap .custom-check {
  display: flex;
  align-items: center;
}

#collapseInstructors #instr-wrap .custom-check .form-check-input {
  flex: 0 0 auto;
  margin-top: 0;
}

#collapseInstructors #instr-wrap .custom-check .form-check-label {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 0.75rem);
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
}

/* External editor wrapper */
.awf {
  color: var(--aw-fg);
  background: var(--aw-bg);
}

.awf h1,
.awf h2,
.awf h3 {
  color: var(--aw-fg);
  font-weight: 700;
}

.awf h1 {
  font-size: 2rem;
}

.awf h2 {
  font-size: 1.5rem;
}

.awf h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.awf .card {
  background: #000 !important;
  margin-bottom: 8px;
}

.awf .description {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.awf label,
.card label {

  font-size: 16px;
  font-weight: 500;
      display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
}

.awf .muted {
  color: var(--aw-muted);
  font-size: 12px;
}

.awf .button,
.awf .button:visited {
  background: var(--aw-gray);
  color: var(--aw-fg);
  font-weight: 600;
  border-radius: var(--aw-radius);
  height: 40px;
  padding: 0 16px;
}

.awf .button:hover {
  background: #2a2b2c;
}

.awf .button:active {
  transform: translateY(1px);
}

.awf .button-primary {
  background: var(--aw-red);
  color: #fff;
}

.awf .button-primary:hover {
  filter: brightness(1.05);
}

.awf input[type="text"],
.awf input[type="url"],
.awf input[type="password"],
.awf input[type="number"],
.awf textarea,
.awf select {
  width: 100%;
  background: #fff;
  color: #000;
  border: 1px solid var(--aw-border);
  border-radius: var(--aw-radius);
  padding: 10px 12px;
  outline: none;
  font-size: 14px;
}

.awf textarea {
  min-height: 130px;
  resize: vertical;
}

.awf input[type="checkbox"],
.awf input[type="radio"] {
  accent-color: var(--aw-red);
  height: 20px;
  width: 20px;
}

.awf a {
  color: #fff;
}

.awf a:hover {
  color: #ddd;
  text-decoration: underline;
}

.awf ul {
  padding-left: 18px;
}

.awf .thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--aw-radius);
  border: 1px solid var(--aw-border);
  background: #000;
}

.awf .gthumb {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: var(--aw-radius);
  border: 1px solid var(--aw-border);
  background: #000;
  display: block;
}

.awf .row.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.awf .repeater-row {
  border: 1px dashed var(--aw-border);
  background: #000 !important;
  padding: 12px;
  border-radius: var(--aw-radius);
  margin-bottom: 12px;
}

.awf .repeater-row .gthumb {
  width: 100px;
  height: 100px;
}

.awf .accordion {
  border: 3px solid var(--aw-red);
  border-radius: var(--aw-radius);
}

.awf .accordion-item {
  border-bottom: 3px solid #141414;
}

.awf .accordion-button {
  font-size: 1.2rem;
  font-weight: 600;
}

.awf .wp-editor-wrap .wp-editor-container,
.wysiwyg-wrapper .wp-editor-container {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  overflow: hidden;
}

.awf .wp-editor-area,
.wysiwyg-wrapper .wp-editor-area {
  min-height: 250px;
  border-radius: 8px;
  background: #111 !important;
  color: #fff !important;
}

.wysiwyg-wrapper .quicktags-toolbar input.button {
  background-color: #b71c32;
  border: none;
  color: #fff;
  border-radius: 4px;
  padding: 3px 8px;
}

.tooltip {
  position: absolute;
  z-index: 1080;
  display: block;
}

.tooltip-inner {
  background-color: #1c1c1c;
  color: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  border: 1px solid #444;
  font-size: .85rem;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #1c1c1c !important;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: #1c1c1c !important;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
  border-left-color: #1c1c1c !important;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: #1c1c1c !important;
}

.img-thumbnail {
  border-color: #333;
  background-color: #000;
}

/* Editor header and notices */
.schools_page__header-bar {
  background: #000;
  z-index: 20;
  position: fixed;
  top: 80px;
  width: 100%;
  max-width: 1300px;
  padding: 12px 0;
}

.schools_page__header-buttons-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schools_page-flex-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.schools_page-first-block {
  margin-top: 70px;
  border: 3px solid #222323;
  padding: 20px;
  border-radius: var(--aw-radius);
}

.schools_page-first-block-premium-status {
  margin-top: 12px;
  border: 3px solid #e6a353;
  padding: 20px;
  border-radius: var(--aw-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.schools_page-first-block-premium-status h2,
.schools_page-first-block-premium-status p {
  margin-bottom: 0;
}

.schools_page-first-block-premium-status .button {
  background: #e6a353 !important;
  color: #000 !important;
}

.schools_page-first-block-premium-status .button:hover {
  background: var(--aw-red) !important;
  color: #fff !important;
}

.awf-flash {
  padding: 10px 12px;
  border-radius: 6px;
  margin: 12px 0;
  font-size: 15px;
}

.awf-flash-ok {
  background: var(--aw-ok-bg);
  border: 1px solid var(--aw-ok-brd);
  color: var(--aw-ok-fg);
}

.awf-flash-err,
.alert--error {
  background: var(--aw-err-bg);
  border: 1px solid var(--aw-err-brd);
  color: var(--aw-err-fg);
  font-weight: 600;
}

/* Save confirmation modal */
.awf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awf-modal {
  background: #111;
  color: #fff;
  padding: 24px;
  border-radius: var(--aw-radius);
  width: 90%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  animation: awf-pop .18s ease-out;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  gap: 10px;
}

@keyframes awf-pop {
  from {
    transform: scale(.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Schedule editor */
.saltatus-schedule-editor {
  padding: 6px 0;
}

.saltatus-schedule-editor .fc {
  --fc-border-color: #e5e7eb;
  --fc-page-bg-color: #fff;
}

.saltatus-schedule-editor .fc-toolbar,
.saltatus-schedule-editor .fc-header-toolbar,
.sch-topbar button {
  display: none !important;
}

.saltatus-schedule-editor .sch-topbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}

.saltatus-schedule-editor .sch-status {
  margin-left: auto;
}

.saltatus-schedule-editor .sch-status .err,
#schedule-editor-root .sch-status .err {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 6px 8px;
  border-radius: 6px;
}

.saltatus-schedule-editor .modal-backdrop,
#sch-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  pointer-events: none;
}

#sch-modal.is-open,
#sch-modal.modal-backdrop.is-open {
  display: flex !important;
  pointer-events: all;
}

.saltatus-schedule-editor .modal,
#sch-modal .modal {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  width: min(95vw, 760px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}

#sch-modal .sch-panel {
  background: #fff;
  color: #111827;
  width: min(920px, 92vw);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .28);
  padding: 20px;
}

#sch-modal .sch-panel,
#sch-modal .sch-panel * {
  box-sizing: border-box;
}

#sch-modal .sch-panel h3,
.card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--aw-red) !important;
}

#sch-modal .row {
  display: grid;
  gap: 14px 16px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 10px;
}

#sch-modal label,
.sch-modal-content .form-label {
  display: block;
  font-weight: 600;
  margin: 6px 0;
  color: #111827;
  font-size: 13px;
}

#sch-modal input[type="text"],
#sch-modal input[type="time"],
#sch-modal input[type="color"],
#sch-modal select {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--aw-radius);
  background: #fff;
  color: #111827;
}

#sch-modal .days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

#sch-modal .days label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 500;
}

#sch-modal .days input {
  accent-color: #111827;
}

#sch-modal .modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

#sch-modal .modal-actions .button {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #111827;
  border-radius: var(--aw-radius);
  padding: .55rem 1rem;
}

#sch-modal .modal-actions .button.button-primary {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

#schedule-editor-root {
  margin-top: 8px;
}

#sch-cal {
  min-height: 640px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--aw-radius);
  padding: 8px;
  overflow: hidden;
}

#schedule-editor-root .fc {
  background: #000;
  color: #0f172a;
  border-radius: var(--aw-radius);
}

#schedule-editor-root .fc-theme-standard .fc-scrollgrid,
#schedule-editor-root .fc-theme-standard td,
#schedule-editor-root .fc-theme-standard th {
  border-color: #e5e7eb;
}

#schedule-editor-root .fc .fc-toolbar-title {
  font-weight: 700;
}

#schedule-editor-root .fc .fc-button {
  background: #111827;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
}

#schedule-editor-root .fc .fc-button:hover {
  filter: brightness(1.1);
}

#collapseSchedule .nav-link {
  background: #222323 !important;
  border: 1px solid #000 !important;
  color: #fff;
}

#collapseSchedule .nav-link.active {
  background: #fff !important;
  border: 1px solid #000 !important;
  color: #000;
}

.sch-status {
  line-height: 1em;
  min-height: 1em;
  display: inline-block;
}

.sch-modal-content .series-info {
  color: var(--aw-red) !important;
  font-weight: 600 !important;
}

/* Unified UI for register/dashboard/orders */
.aw-school-register,
.aw-school-dashboard,
.aw-order-checkout,
.aw-order-transfer {
  color: #fff;
}

.aw-auth-shell {
  margin: 30px auto 60px;
  max-width: 720px;
  padding: 12px;
}

/* Auth screens: unified links, checkboxes and primary CTA */
.aw-auth-shell a {
  color: var(--aw-red) !important;
  text-decoration: none !important;
}

.aw-auth-shell a:hover,
.aw-auth-shell a:focus-visible {
  color: #ff3b6b !important;
  text-decoration: underline !important;
}

.aw-auth-shell .form-check,
.aw-auth-shell .login-remember {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aw-auth-shell .form-check-input,
.aw-auth-shell .login-remember input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  inline-size: 18px;
  block-size: 18px;
  border: 2px solid var(--aw-red);
  border-radius: 4px;
  background: transparent;
  margin: 0;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
}

.aw-auth-shell .form-check-input:checked,
.aw-auth-shell .login-remember input[type="checkbox"]:checked {
  background: var(--aw-red);
  border-color: var(--aw-red);
}

.aw-auth-shell .form-check-input:checked::after,
.aw-auth-shell .login-remember input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.aw-auth-shell .form-check-input:focus,
.aw-auth-shell .login-remember input[type="checkbox"]:focus {
  box-shadow: 0 0 0 .15rem rgba(194, 39, 58, .35);
  outline: none;
}

.aw-auth-shell .form-check-label,
.aw-auth-shell .login-remember label {
  color: #fff;
  font-weight: 500;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  margin: 0;
}

.aw-auth-shell .login-remember > label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.aw-auth-shell .form-label,
.aw-auth-shell .login-username > label,
.aw-auth-shell .login-password > label {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 .5rem;
  display: block;
}

.aw-auth-shell .button.button-primary,
.aw-auth-shell .btn.btn-primary,
.aw-auth-shell .btn.btn--primary {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: var(--aw-radius);
  border: none;
  background: var(--aw-red) !important;
  border-color: var(--aw-red) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
}

.aw-auth-shell .button.button-primary:hover,
.aw-auth-shell .btn.btn-primary:hover,
.aw-auth-shell .btn.btn--primary:hover {
  background: #a91b2f !important;
  border-color: #a91b2f !important;
  color: #fff !important;
}

.aw-school-register .form-control,
.aw-school-dashboard .form-control,
.aw-school-dashboard--login #loginform input[type="text"],
.aw-school-dashboard--login #loginform input[type="password"] {
  background: #fff;
  color: #000;
  border: 1px solid #343434;
  border-radius: var(--aw-radius);
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.aw-school-register .form-control:focus,
.aw-school-dashboard .form-control:focus,
.aw-school-dashboard--login #loginform input[type="text"]:focus,
.aw-school-dashboard--login #loginform input[type="password"]:focus {
  border-color: #c2273a;
  box-shadow: 0 0 0 .2rem rgba(194, 39, 58, .25);
}

.aw-school-dashboard--login .alert {
  border-radius: var(--aw-radius);
}

.aw-school-dashboard--login #loginform {
  margin-top: 12px;
}

.aw-school-dashboard--login #loginform p {
  margin: 0 0 10px;
}

.aw-school-dashboard--login #loginform label {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: .5rem;
}

.aw-school-dashboard--login #loginform .button-primary {
  width: 100%;
  min-height: 3rem;
  background-color: var(--aw-red);
  color: #fff;
  border: none;
  border-radius: var(--aw-radius);
}

.aw-school-dashboard--login #loginform .button-primary:hover {
  background: #222323;
}

.aw-school-dashboard__tiles {
  margin-top: 10px;
}

.aw-school-dashboard__tile {
  background: #000 !important;
  border: 2px solid #222323;
  border-radius: var(--aw-radius);
  color: #fff;
  transition: transform .12s ease, border-color .12s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.aw-school-dashboard__tile:hover {
  transform: translateY(-2px);
  border-color: var(--aw-red);
}

.aw-school-dashboard__tile-title {
  font-weight: 800;
  font-size: 18px;
  margin: 6px 0;
}

.aw-school-dashboard__tile-meta {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.aw-school-dashboard__tile-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.aw-school-dashboard__tile-actions .button,
.aw-school-dashboard__tile-actions .button:visited {
  width: 100%;
  height: 44px;
  border-radius: var(--aw-radius);
  background: #222323;
  color: #fff;
  font-weight: 700;
}

.aw-school-dashboard__tile-actions .button:hover {
  background: #2a2b2c;
}

.aw-school-dashboard__tile-actions .button-primary {
  background: var(--aw-red) !important;
}

.aw-school-dashboard__tile-actions .button-primary:hover {
  background: #222323 !important;
}

.aw-school-dashboard__tile-actions .button-secondary {
  background: transparent !important;
  border: 1px solid #343434 !important;
  color: #ddd !important;
}

.aw-school-dashboard__tile-actions .button-secondary:hover {
  background: #262626 !important;
  color: #fff !important;
}

.aw-school-dashboard__tile-actions .button-disabled {
  background: #141414 !important;
  border: 1px dashed #333 !important;
  color: #777 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.aw-school-dashboard__tile--add {
  cursor: pointer;
  background: #000 !important;
  width: 100%;
  text-align: left;
}

.aw-school-dashboard__tile--add[disabled] {
  cursor: not-allowed !important;
  opacity: .85;
}

.aw-school-dashboard__plus {
  font-size: 120px;
  line-height: 1;
  font-weight: 900;
  color: var(--aw-red);
}

.aw-school-dashboard__add-label {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.aw-school-dashboard__add-sub {
  color: #9ca3af;
}

/* Dashboard school card v2 */
.aw-school-dashboard__school-card {
  background: #e8e8e8 !important;
  color: #000;
  border: 1px solid #d0d0d0;
  border-radius: 12px;
  box-shadow: none;
  min-height: 520px;
}

.aw-school-dashboard__school-card:hover {
  transform: none;
  border-color: #bdbdbd;
}

.aw-school-dashboard__school-card .card-body {
  padding: 12px;
  gap: 12px;
}

.aw-school-dashboard__school-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.aw-school-dashboard__school-logo {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: #c41f3a;
  position: relative;
  flex: 0 0 auto;
  margin-top: 4px;
}

.aw-school-dashboard__plan-badge,
.aw-school-dashboard__plan-badge:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  color: #000;
  flex: 0 0 auto;
  max-width: 148px;
}

.aw-school-dashboard__plan-badge.is-standard {
  background: #000;
  color: #fff;
}

.aw-school-dashboard__plan-badge.is-premium {
  background: #e6a353;
  color: #000;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-title {
  color: #000;
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-meta {
  color: #111;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 0;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-meta strong {
  color: #000;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-actions {
  gap: 12px;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button,
.aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button:visited {
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button-primary {
  background: #c41f3a !important;
  border: 1px solid #c41f3a !important;
  flex: 2 1 0;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button-primary:hover {
  background: #ab1b33 !important;
  border-color: #ab1b33 !important;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button-secondary,
.aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button-disabled {
  background: #000 !important;
  border: 1px solid #000 !important;
  color: #fff !important;
  flex: 1 1 0;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button-disabled {
  opacity: .6;
}

.aw-school-dashboard__school-card .aw-school-dashboard__tile-actions--minor {
  justify-content: center;
  margin-top: 4px;
}

.aw-school-dashboard__text-action,
.aw-school-dashboard__text-action:visited {
  background: transparent !important;
  border: 0 !important;
  color: #111 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  width: auto !important;
  text-decoration: underline !important;
  justify-content: center;
}

.aw-school-dashboard__text-action:hover {
  color: #000 !important;
}

.aw-school-dashboard__inline-form .aw-school-dashboard__text-action {
  width: auto !important;
}

.aw-school-dashboard__add-form.card,
.aw-school-dashboard__add-form.modal-content {
  background: #000 !important;
  border: 2px solid #222323;
  border-radius: var(--aw-radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.aw-school-dashboard__limitbar {
  margin-top: 14px;
  border: 1px solid #222323;
  border-radius: var(--aw-radius);
  padding: 10px 12px;
  color: #cbd5e1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.aw-school-dashboard__limitbar strong {
  color: #fff;
}

.aw-school-dashboard__limitbar .aw-limit-bad {
  color: #ffb4b4;
  font-weight: 800;
}

.aw-school-dashboard__accordion-wrap {
  margin-top: 24px;
}

.aw-school-dashboard__accordion-wrap .accordion {
  border: 3px solid var(--aw-red);
  border-radius: var(--aw-radius);
  overflow: hidden;
  background: #000;
}

.aw-school-dashboard__accordion-wrap .accordion-item {
  background: #000;
  border-bottom: 3px solid #141414;
}

.aw-school-dashboard__accordion-wrap .accordion-button {
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.aw-school-dashboard__accordion-wrap .accordion-button:not(.collapsed) {
  background: #0b0b0b;
}

.aw-school-dashboard__accordion-wrap .accordion-body {
  background: #000;
  color: #fff;
}

.aw-school-dashboard__accordion-wrap .form-control {
  background: #151515;
  border: 1px solid #343434;
  color: #fff;
  border-radius: var(--aw-radius);
  padding: 10px 12px;
}

/* Two-Factor (plugin) embedded inside dashboard accordion */
.aw-school-dashboard__accordion-wrap .aw-twofactor-form h2,
.aw-school-dashboard__accordion-wrap .aw-twofactor-form h3,
.aw-school-dashboard__accordion-wrap #two-factor-options h2,
.aw-school-dashboard__accordion-wrap #two-factor-options h3 {
  color: #fff !important;
}

.aw-school-dashboard__accordion-wrap .aw-twofactor-form .notice.inline {
  background: #111 !important;
  border: 1px solid #2a2b2c !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.aw-school-dashboard__accordion-wrap .aw-twofactor-form table,
.aw-school-dashboard__accordion-wrap .aw-twofactor-form tbody,
.aw-school-dashboard__accordion-wrap .aw-twofactor-form tr,
.aw-school-dashboard__accordion-wrap .aw-twofactor-form th,
.aw-school-dashboard__accordion-wrap .aw-twofactor-form td {
  background: #000 !important;
  color: #fff !important;
  border-color: #2a2b2c !important;
}

.aw-school-dashboard__accordion-wrap .aw-twofactor-form .two-factor-methods-table,
.aw-school-dashboard__accordion-wrap .aw-twofactor-form .two-factor-primary-method-table {
  border: 1px solid #2a2b2c !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.aw-school-dashboard__accordion-wrap .aw-twofactor-form input[type="text"],
.aw-school-dashboard__accordion-wrap .aw-twofactor-form input[type="number"],
.aw-school-dashboard__accordion-wrap .aw-twofactor-form input[type="password"],
.aw-school-dashboard__accordion-wrap .aw-twofactor-form select {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #343434 !important;
  border-radius: 10px !important;
}

.aw-school-dashboard__accordion-wrap .aw-twofactor-form input:focus,
.aw-school-dashboard__accordion-wrap .aw-twofactor-form select:focus {
  border-color: #c41f3a !important;
  box-shadow: 0 0 0 .2rem rgba(196, 31, 58, .25) !important;
}

.aw-school-dashboard__accordion-wrap .aw-twofactor-form .two-factor-method-recommended {
  color: #fff !important;
  border: 1px solid #2a2b2c !important;
  border-radius: 999px !important;
  background: #111 !important;
  padding: 2px 8px;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #2a2b2c;
  border-radius: 999px;
  padding: 8px 12px;
  background: #111;
  color: #fff;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-choice input[type="radio"] {
  accent-color: #c41f3a;
}

.aw-school-action-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aw-school-action-tab {
  border: 1px solid #2a2b2c;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 8px 12px;
}

.aw-school-action-tab.is-active {
  background: #c41f3a;
  border-color: #c41f3a;
}

.aw-billing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aw-billing-tab {
  border: 1px solid #2a2b2c;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 8px 12px;
}

.aw-billing-tab.is-active {
  background: #c41f3a;
  border-color: #c41f3a;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-panel {
  border: 1px solid #2a2b2c;
  border-radius: 10px;
  background: #000;
  padding: 14px;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-switch--tabs {
  border-bottom: 1px solid #2a2b2c;
  gap: 0;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #2a2b2c;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #202225;
  color: #fff;
  padding: 8px 14px;
  margin: 0 2px 0 0;
  font-weight: 700;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-tab.is-active {
  background: #fff;
  color: #111;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
  padding: 4px 8px;
  font-weight: 700;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-tab-badge.is-on {
  background: #148f57;
  color: #fff;
}

.aw-school-dashboard__accordion-wrap .aw-twofa-tab-badge.is-off {
  background: #6b7280;
  color: #fff;
}

.aw-school-dashboard__accordion-wrap #aw-twofa-qr-wrap {
  border: 1px solid #2a2b2c;
  border-radius: 10px;
  background: #111;
  padding: 10px;
  display: inline-block;
}

.aw-school-dashboard__accordion-wrap #aw-twofa-qr-wrap svg {
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
}

.aw-school-dashboard--login .aw-twofa-login-card .button,
.aw-school-dashboard--login .aw-twofa-login-card input[type="submit"] {
  border-radius: 12px;
}

.aw-school-dashboard--login .aw-twofa-login-card .input.authcode {
  width: 100%;
  max-width: 100%;
}

.aw-school-dashboard--login .aw-twofa-backup-wrap ul {
  margin: 0;
  padding-left: 18px;
}

.aw-school-dashboard--login .aw-twofa-backup-wrap a {
  color: #ff3b6b;
  text-decoration: none;
}

.aw-school-dashboard--login .aw-twofa-backup-wrap a:hover {
  text-decoration: underline;
}

.aw-order-checkout .aw-order-box,
.aw-order-transfer .aw-order-box {
  border: 1px solid #dcdcde;
  padding: 14px;
  margin: 14px 0;
  border-radius: 8px;
  background: #fff;
  color: #000;
}

.aw-order-transfer .aw-order-box--payment {
  border: 2px solid #c2273a;
  box-shadow: 0 8px 20px rgba(194, 39, 58, 0.12);
}

.aw-order-transfer__payment-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111111;
}

.aw-order-transfer__bank-account {
  display: inline-block;
  margin: 6px 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 20px;
  color: #111111;
}

.aw-order-checkout .aw-order-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  color: #000;
}

.aw-order-checkout .aw-order-row input {
  margin-right: 8px;
}

.aw-order-checkout p,
.aw-order-checkout strong,
.aw-order-checkout h2,
.aw-order-transfer p,
.aw-order-transfer strong,
.aw-order-transfer h2,
.aw-order-transfer div {
  color: #000;
}

/* Responsive */
@media (max-width: 900px) {
  #sch-modal .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .awf .thumb {
    width: 96px;
    height: 96px;
  }

  .awf .gthumb {
    width: 84px;
    height: 84px;
  }

  .schools_page-first-block-premium-status {
    padding: 12px;
  }

  .schools_page__header-bar {
    top: 60px;
    left: 0;
    right: 0;
    padding: 12px;
  }

  .schools_page-flex-buttons {
    margin-bottom: 8px;
    justify-content: space-between;
    flex-direction: row;
  }

  .schools_page__header-buttons-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .awf .button,
  .awf .button:visited {
    height: 30px;
    padding: 0 10px;
    font-size: 14px;
  }

  .sch-cal {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  .fc .fc-timegrid {
    min-width: 800px;
  }

  .fc .fc-timegrid-col {
    flex: none !important;
    width: 100px !important;
  }

  .fc .fc-timegrid-event {
    font-size: 12px !important;
    padding: 2px 4px !important;
    line-height: 1.2 !important;
  }

  .fc .fc-event-title {
    white-space: normal !important;
    word-break: break-word;
  }

  .fc .fc-col-header-cell {
    font-size: 12px !important;
    padding: 4px 2px !important;
  }
}

@media (max-width: 720px) {
  #sch-modal .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .aw-school-dashboard__tile-actions {
    flex-direction: column;
  }

  .form-check-label {
    white-space: normal;
  }
}

.aw-school-dashboard__tile-actions--minor {
  gap: 8px;
}

.aw-school-dashboard__inline-form {
  width: 100%;
  margin: 0;
}

.aw-school-dashboard__inline-form .button {
  width: 100%;
}

.aw-school-dashboard__button-danger,
.aw-school-dashboard__button-danger:visited {
  width: 100%;
  height: 40px;
  border-radius: var(--aw-radius);
  border: 1px solid #5a1f2c !important;
  background: rgba(196, 31, 58, .14) !important;
  color: #ffb4c0 !important;
  font-weight: 700;
}

.aw-school-dashboard__button-danger:hover {
  background: rgba(196, 31, 58, .26) !important;
  color: #fff !important;
}

/* Dashboard Card V2 (migrated from dashboard-card-v2.css) */

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tiles {
  margin-top: 12px;
}

.container-xl.wrap.awf.mt-5 {
  margin-top: 0 !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tile.aw-school-dashboard__school-card {
  background: #ffffff !important;
  color: #000 !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  min-height: 420px;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tile.aw-school-dashboard__school-card .card-body {
  padding: 16px !important;
  gap: 12px !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tile.aw-school-dashboard__tile--add {
  min-height: 420px !important;
  background: #c41f3a !important;
  border: 1px solid #c41f3a !important;
  border-radius: 12px !important;
  color: #fff !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tile.aw-school-dashboard__tile--add .card-body {
  background: #c41f3a !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tile.aw-school-dashboard__tile--add .aw-school-dashboard__plus,
.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tile.aw-school-dashboard__tile--add .aw-school-dashboard__add-label,
.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tile.aw-school-dashboard__tile--add .aw-school-dashboard__add-sub {
  color: #fff !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tile.aw-school-dashboard__school-card:hover {
  transform: none !important;
  border-color: #cfcfcf !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-logo {
  width: 70px;
  height: 70px;
  margin-top: 12%;
  border-radius: 999px;
  background: #c41f3a;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-logo.has-image {
  background: transparent !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-logo-photo {
  width: 70px;
  height: 70px;
  display: block !important;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: 0 auto;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  border-radius: 999px;
  line-height: 1;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__plan-badge,
.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__plan-badge:visited {
  min-height: 56px;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none !important;
  text-align: center;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.15;
  width: 146px;
  max-width: 146px;
  color: #000 !important;
  white-space: normal;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__plan-badge--compact {
  margin-left: auto;
  width: auto;
  max-width: none;
  min-height: auto;
  padding: 8px 12px;
  white-space: nowrap;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__plan-badge.is-standard {
  background: #000 !important;
  color: #fff !important;
  min-height: 34px;
  width: 146px;
  max-width: 146px;
  padding: 8px 12px;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__plan-badge.is-premium {
  background: #e6a353 !important;
  color: #000 !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__plan-line {
  display: inline;
  white-space: nowrap;
  font-size: 12px !important;
  line-height: 1.1 !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-title {
  margin: 0;
  color: #000 !important;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-meta strong {
  color: #000 !important;
  font-weight: 800;
}

.form-check-label {
  color:#000;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__status-hint {
  display: block;
  font-weight: 700;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions {
  margin-top: auto;
  gap: 12px;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button,
.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button:visited {
  height: 52px;
  border-radius: 12px;
  font-size: 15px !important;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  white-space: nowrap;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button-primary {
  background: #c41f3a !important;
  border: 1px solid #c41f3a !important;
  color: #fff !important;
  flex: 2 1 0;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button-secondary,
.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button-disabled {
  background: #000 !important;
  border: 1px solid #000 !important;
  color: #fff !important;
  flex: 1 1 0;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button-disabled {
  opacity: .6;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions--minor {
  margin-top: 6px !important;
  display: flex !important;
  justify-content: center !important;
  text-align: center;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__text-action,
.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__text-action:visited {
  background: transparent !important;
  border: 0 !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__inline-form {
  width: auto;
  margin: 0 auto !important;
  display: flex;
  justify-content: center;
}

.aw-school-dashboard .table,
.aw-school-dashboard .aw-orders-table {
  --bs-table-color: #ffffff;
  --bs-table-border-color: rgba(255, 255, 255, 0.35);
}

.aw-school-dashboard .table > :not(caption) > * > *,
.aw-school-dashboard .aw-orders-table > :not(caption) > * > * {
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__tile.aw-school-dashboard__school-card {
    min-height: auto;
  }

  .aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-title {
    font-size: 20px;
  }

  .aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button,
  .aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-actions .button:visited {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .aw-school-dashboard.aw-school-dashboard--grid .aw-school-dashboard__school-card .aw-school-dashboard__tile-title {
    font-size: 18px;
  }
}

@media (max-width: 991.98px) and (min-width: 100px) {
    .schools_page-first-block {
    margin-top: 140px;
}
}
