body.gd-ui-tier-basic .gd-nav-pro,
body.gd-ui-tier-basic .gd-nav-premium,
body.gd-ui-tier-pro .gd-nav-premium {
  display: none !important;
}

.gd-topbar {
  min-height: 56px;
  padding-right: 1rem;
  padding-left: 1rem;
  position: relative;
  z-index: 200;
  overflow: visible;
}

.gradingly-school-shell .main-content > .gd-topbar {
  flex-shrink: 0;
}

.gd-plan-wrap {
  gap: 0.5rem;
}

.gd-view-as-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0;
  white-space: nowrap;
}

.gd-plan-dd {
  position: relative;
}

.gd-plan-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.gd-plan-trigger:hover:not(:disabled) {
  border-color: #d1d5db;
}

.gd-plan-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.gd-plan-trigger.gd-tier-pro {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.gd-plan-trigger.gd-tier-premium {
  border-color: #e9d5ff;
  background: #faf5ff;
  color: #7e22ce;
}

.gd-plan-trigger.gd-tier-premium .gd-plan-chevron {
  color: #9333ea;
}

.gd-plan-trigger-label {
  white-space: nowrap;
}

.gd-plan-chevron {
  flex-shrink: 0;
  color: #2b85f0;
}

.gd-plan-trigger.gd-tier-basic .gd-plan-chevron.gd-chevron-muted,
.gd-plan-chevron.gd-chevron-muted {
  color: #6b7280;
}

.gd-plan-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 280px;
  padding: 0.35rem 0;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  z-index: 1200;
}

.gd-plan-dd.show .gd-plan-menu {
  display: block;
}

.gd-plan-menu-heading {
  padding: 0.5rem 0.85rem 0.35rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.gd-plan-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.gd-plan-item:hover:not(:disabled) {
  background: #f9fafb;
}

.gd-plan-item.is-selected {
  background: #f8fafc;
}

.gd-plan-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gd-plan-item-body {
  flex: 1;
  min-width: 0;
}

.gd-plan-item-title {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.gd-plan-item-desc {
  display: block;
  margin-top: 0.1rem;
  font-size: 11px;
  line-height: 1.35;
  color: #6b7280;
}

.gd-tier-check {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #2b85f0;
  opacity: 0;
}

.gd-plan-item.is-selected .gd-tier-check {
  opacity: 1;
}

.gd-tier-sparkle {
  color: #9333ea;
}

.gd-plan-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.2rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.gd-dot-gray {
  background: #9ca3af;
}

.gd-dot-blue {
  background: #3b82f6;
}

.gd-dot-ring {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #93c5fd;
}

.gd-dot-purple {
  background: #9333ea;
}

.gd-intake-shell { background: #f9fafb; padding: 1.5rem; min-height: calc(100vh - 120px); }

.gd-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }

.gd-intake-table-card .filters-section {
  margin-bottom: 1rem;
}
.gd-intake-table-wrap.tests-table-wrapper {
  margin-bottom: 0;
}
.gd-pill { border-radius: 999px; padding: 0.2rem 0.65rem; font-size: 12px; font-weight: 600; }
.gd-pill-active { background: #d1fae5; color: #047857; }
.gd-pill-completed { background: #dbeafe; color: #1d4ed8; }
.gd-pill-draft { background: #f3f4f6; color: #4b5563; }
.gd-level-pill { border-radius: 999px; padding: 0.25rem 0.65rem; font-size: 12px; border: 1px solid #e5e7eb; background: #fff; }
.gd-level-pill.active { background: #2b85f0; color: #fff; border-color: #2b85f0; }

.gd-badge-level { font-size: 11px; font-weight: 700; color: #fff; border-radius: 4px; padding: 2px 8px; }
.gd-badge-a2 { background: #7f1d1d; }
.gd-badge-b1 { background: #ea580c; }
.gd-badge-b2 { background: #16a34a; }
.gd-badge-c1 { background: #2b85f0; }
.gd-badge-c2 { background: #7c3aed; }
.gd-avatar {
  width: 28px; height: 28px; border-radius: 50%; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.gd-avatar-level-a2,
.gd-avatar-stack-item.gd-avatar-level-a2 { background-color: #7f1d1d; color: #fff; }
.gd-avatar-level-b1,
.gd-avatar-stack-item.gd-avatar-level-b1 { background-color: #ea580c; color: #fff; }
.gd-avatar-level-b2,
.gd-avatar-stack-item.gd-avatar-level-b2 { background-color: #16a34a; color: #fff; }
.gd-avatar-level-c1,
.gd-avatar-stack-item.gd-avatar-level-c1 { background-color: #2b85f0; color: #fff; }
.gd-avatar-level-c2,
.gd-avatar-stack-item.gd-avatar-level-c2 { background-color: #7c3aed; color: #fff; }
.gd-avatar-level-neutral,
.gd-avatar-stack-item.gd-avatar-level-neutral { background-color: #6b7280; color: #fff; }

.gd-progress { height: 6px; border-radius: 999px; }

.gd-intake-shell.gd-classes-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.gd-classes-toolbar .gd-search-wrapper.search-input-wrapper {
  width: 100%;
  max-width: 22rem;
}
.gd-classes-page .gd-intake-table-card {
  margin-top: 0;
}
.gd-class-subtitle {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
}
.gd-level-chip-b2 { background: #16a34a; color: #fff; }
.gd-level-chip-b1 { background: #ea580c; color: #fff; }
.gd-level-chip-a2 { background: #7f1d1d; color: #fff; }
.gd-level-chip-c1 { background: #2b85f0; color: #fff; }
.gd-level-chip-c2 { background: #7c3aed; color: #fff; }
.gd-level-chip-neutral { background: #6b7280; color: #fff; }
.gd-score-danger { color: #dc2626 !important; }
.gd-score-warn { color: #d97706 !important; }
.gd-score-ok { color: #16a34a !important; }

.gd-classes-empty .gd-empty-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #eff6ff; color: #2b85f0;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}

.gd-intake-shell.gd-class-detail-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 0;
  background: #f9fafb;
}
.gd-class-detail-page .gd-page-subheader {
  margin-bottom: 0;
}

.gd-class-detail-page .font-weight-semibold { font-weight: 600 !important; }
.gd-class-detail-page .font-weight-medium { font-weight: 500 !important; }

.gd-class-detail-page .gd-avatar.gd-avatar-sm {
  width: 28px;
  height: 28px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gd-class-detail-page .gd-gap-row {
  transition: background 0.12s;
}
.gd-class-detail-page .gd-gap-row:hover {
  background: rgba(249, 250, 251, 0.8);
}

.gd-class-detail-page .gd-avatar-stack-item {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: -8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.gd-class-detail-page .gd-avatar-stack-item:first-child {
  margin-left: 0;
}

.gd-avatar-sm { width: 28px; height: 28px; font-size: 10px; }

.gd-gen-gap-wrap {
  display: inline-block;
  margin-top: 0.25rem;
}
.gd-gen-gap-wrap .btn:disabled,
.gd-gen-gap-wrap .btn-brand:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
@media print {
  .btn{ display: none !important; }
  .gd-class-detail-page .col-lg-8 { flex: 0 0 100% !important; max-width: 100% !important; }
}

/* Custom Modal Design (matches React NewIntakeModal) */
.gd-custom-modal .gd-modal-content {
  border-radius: 12px;
  border: 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.gd-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.gd-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.gd-modal-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  margin-bottom: 0;
}
.gd-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.gd-modal-close:hover {
  background: #f9fafb;
}
.gd-modal-body {
  padding: 1.25rem 1.5rem;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.gd-info-banner {
  border-radius: 8px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  padding: 0.75rem 1rem;
}
.gd-info-banner-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1d4ed8;
  margin-bottom: 6px;
}
.gd-info-banner-text {
  font-size: 13px;
  color: #374151;
}
.gd-dot-separator {
  color: #d1d5db;
  margin: 0 0.5rem;
}

.gd-mode-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}
.gd-mode-card .gd-mode-text {
  flex: 1;
  min-width: 0;
}
.gd-mode-card:hover {
  border-color: #d1d5db;
}
.gd-mode-card.active {
  border-color: #2b85f0;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #2b85f0;
}
.gd-mode-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.gd-mode-icon.bg-blue {
  background: #2b85f0;
  color: #fff;
}
.gd-mode-icon.bg-gray {
  background: #f3f4f6;
  color: #6b7280;
}
.gd-mode-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}
.gd-mode-desc {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.3;
}
.gd-mode-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  margin-top: 2px;
  margin-left: auto;
}
.gd-mode-radio.active {
  border-color: #2b85f0;
  background: #2b85f0;
  box-shadow: inset 0 0 0 3px #fff;
}
.gd-section-card {
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: #fff;
  overflow: hidden;
}
.gd-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  background: #fff;
  transition: background 0.1s;
}
.gd-section-header:hover {
  background: #f9fafb;
}
.gd-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2b85f0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gd-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}
.gd-section-subtitle {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

.gd-section-body {
  padding: 0.75rem 1rem;
  border-top: 1px solid #f3f4f6;
}
.gd-search-wrapper {
  position: relative;
  width: 200px;
}
.gd-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 12px;
}
.gd-search-input {
  width: 100%;
  height: 32px;
  padding-left: 32px;
  font-size: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
}
.gd-search-input:focus {
  border-color: #2b85f0;
  box-shadow: 0 0 0 1px #2b85f0;
}
.gd-filter-label {
  font-size: 11px;
  color: #9ca3af;
}
.gd-level-chip {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
}
.gd-level-chip.active {
  background: #2b85f0;
  color: #fff;
  border-color: #2b85f0;
}
.gd-level-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}
.gd-level-dot.A2 { background: #7f1d1d; }
.gd-level-dot.B1 { background: #ea580c; }
.gd-level-dot.B2 { background: #16a34a; }
.gd-level-dot.C1 { background: #2b85f0; }
.gd-level-dot.C2 { background: #7c3aed; }

.gd-empty-row {
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  padding: 24px;
}
.gd-input-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}
.gd-number-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.gd-step-btn {
  width: 32px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 0;
  color: #6b7280;
  font-weight: bold;
}
.gd-step-btn:hover { background: #f9fafb; }
.gd-step-input {
  width: 64px;
  height: 36px;
  text-align: center;
  font-weight: 600;
  border: 0;
  background: transparent;
  outline: none;
}
.gd-alert-blue {
  font-size: 12px;
  color: #1e40af;
  background: #eff6ff;
  border-left: 3px solid #2b85f0;
  padding: 10px;
  border-radius: 6px;
  line-height: 1.5;
}
.gd-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 0.85rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.gd-btn-cancel,
.gd-btn-primary,
.gd-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.gd-btn-sm {
  font-size: 16px;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
}
.gd-btn-cancel {
  background: #fff;
  border-color: #e5e7eb;
  color: #374151;
}
.gd-btn-cancel:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}
.gd-btn-primary {
  background: #2b85f0;
  border-color: #2b85f0;
  color: #fff;
}
.gd-btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}
.gd-btn-primary:disabled,
.gd-btn-outline:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.gd-btn-outline {
  background: #fff;
  border-color: #e5e7eb;
  color: #374151;
}
.gd-btn-outline:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

.gd-intake-page {
  padding: 0;
  background: #f9fafb;
  min-height: 0;
}
.gd-page-subheader{
  flex-shrink: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.25rem 1.5rem;
}
.gd-page-subheader-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.gd-page-subheader-text {
  min-width: 0;
}
.gd-page-subheader-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.gd-page-title{
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}
.gd-page-subtitle{
  font-size: 14px;
  color: #6b7280;
  margin: 2px 0 0;
  line-height: 1.4;
}
.gd-page-subheader .gd-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 13px;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
}
.gd-page-subheader-filters {
  margin-top: 1rem;
  width: 100%;
}
.gd-tests-filters {
  margin: 0;
  width: 100%;
}
.gd-tests-filters-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  width: 100%;
  align-items: end;
}
.gd-tests-filter-search,
.gd-tests-filter {
  min-width: 0;
  width: 100%;
}
.gd-tests-page .search-input-wrapper,
.gd-tests-page .filter-select-wrapper {
  width: 100%;
}
.gd-tests-page .filter-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #364153;
  margin-bottom: 0.35rem;
  text-transform: none;
}
.gd-tests-page .search-input,
.gd-tests-page .filter-select {
  width: 100%;
  height: 36px;
  font-size: 13px;
  border-color: #e5e7eb;
  border-radius: 8px;
}
@media (max-width: 991.98px) {
  .gd-tests-filters-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .gd-tests-filter-search {
    grid-column: 1 / -1;
  }
}
@media (max-width: 575.98px) {
  .gd-tests-filters-row {
    grid-template-columns: 1fr;
  }
}
.gd-tests-page .gd-intake-content {
  padding-top: 1rem;
}
.gd-tests-page .gd-intake-table-card {
  margin-top: 0;
}
.gd-tests-page .gd-results-summary {
  color: #6b7280;
  font-size: 12px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 0.65rem;
}
.gd-users-page,
.gd-status-page,
.gd-tests-page {
  padding: 0;
  background: #f9fafb;
  min-height: 0;
}
.gd-users-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}
.gd-users-bundle {
  min-width: 200px;
}
.gd-users-bundle-meta .row {
  margin: 0;
}
.gd-users-filter-bar {
  border-bottom: 1px solid #f3f4f6;
}
.gd-users-table-card {
  border-radius: 12px;
}
.gradingly-school-shell .content-area.p-0:has(.gd-users-page),
.gradingly-school-shell .content-area.p-0:has(.gd-classes-page),
.gradingly-school-shell .content-area.p-0:has(.gd-class-detail-page),
.gradingly-school-shell .content-area.p-0:has(.gd-status-page),
.gradingly-school-shell .content-area.p-0:has(.gd-tests-page) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  min-height: 0;
}
.gradingly-school-shell .content-area.p-0:has(.gd-users-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-classes-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-class-detail-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-status-page) > .col-12,
.gradingly-school-shell .content-area.p-0:has(.gd-tests-page) > .col-12 {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 0;
}
.gd-intake-shell.gd-users-page,
.gd-intake-shell.gd-classes-page,
.gd-intake-shell.gd-class-detail-page,
.gd-intake-shell.gd-status-page,
.gd-intake-shell.gd-tests-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.gd-status-filters {
  gap: 0.75rem;
  margin: 0;
}
.gd-status-date-nav {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  width: auto;
  flex-wrap: nowrap;
}
.gd-status-date-btn {
  background: #fff;
  border: 0;
  border-right: 1px solid #e5e7eb;
  color: #374151;
  padding: 0.45rem 0.65rem;
  line-height: 1;
}
.gd-status-date-btn:last-of-type {
  border-right: 0;
  border-left: 1px solid #e5e7eb;
}
.gd-status-date-input {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-align: center;
  min-width: 140px;
  max-width: 180px;
  background: #fff !important;
  box-shadow: none !important;
}
.gd-status-period-select {
  appearance: none;
  background: #2b85f0;
  border: 1px solid #2b85f0;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  line-height: 1.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
}
.gd-status-period-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}
.gd-classes-page .gd-page-subheader {
  margin-bottom: 0;
}
.b2c_height .gd-page-subheader {
  position: sticky;
  top: 0;
}
.gradingly-school-shell .content-area.p-0:has(.gd-intake-page) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  min-height: 0;
}
.gradingly-school-shell .content-area.p-0:has(.gd-intake-page) > .col-12 {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 0;
}
.gd-intake-shell.gd-intake-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.gd-intake-body-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.gd-intake-content {
  padding: 1.5rem;
  overflow: visible;
}

.gd-intake-picker {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: visible;
}
.gd-intake-picker-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.gd-intake-session-picker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
}
.gd-intake-select-form {
  position: relative;
  margin: 0;
}
.gd-intake-session-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 220px;
  max-width: 320px;
  padding: 0.5rem 0.75rem;
  border: 0px solid #bfdbfe;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gd-intake-session-trigger:hover,
.gd-intake-session-trigger:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.gd-intake-session-trigger.is-open {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.gd-intake-session-trigger-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gd-intake-session-trigger-chevron {
  color: #6b7280;
  font-size: 11px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.gd-intake-session-trigger.is-open .gd-intake-session-trigger-chevron {
  transform: rotate(180deg);
}
.gd-intake-session-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  min-width: 100%;
  width: max(100%, 340px);
  max-width: 420px;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
}
.gd-intake-session-menu[hidden] {
  display: none !important;
}
.gd-intake-session-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.gd-intake-session-option:hover {
  background: #f9fafb;
}
.gd-intake-session-option.is-selected {
  background: #eff6ff;
}
.gd-intake-session-option .gd-intake-status-dot {
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.gd-intake-session-option-body {
  flex: 1;
  min-width: 0;
}
.gd-intake-session-option-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.gd-intake-session-option.is-selected .gd-intake-session-option-title {
  color: #2b85f0;
}
.gd-intake-session-option-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.35;
}
.gd-intake-session-option-badge {
  flex-shrink: 0;
  align-self: center;
  border-radius: 4px;
  padding: 0.2rem 0.45rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.gd-session-badge-completed {
  background: #2b85f0;
  color: #fff;
}
.gd-session-badge-active {
  background: #d1fae5;
  color: #047857;
}
.gd-session-badge-draft {
  background: #f3f4f6;
  color: #6b7280;
}
.gd-intake-session-side-pill {
  flex-shrink: 0;
  text-transform: capitalize;
}
.gd-intake-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #f3f4f6;
}
.gd-status-active { background: #22c55e; box-shadow: 0 0 0 2px #dcfce7; }
.gd-status-completed { background: #3b82f6; box-shadow: 0 0 0 2px #dbeafe; }
.gd-status-draft { background: #9ca3af; box-shadow: 0 0 0 2px #f3f4f6; }

.gd-intake-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: #6b7280;
}
.gd-intake-meta-strong {
  color: #111827;
  font-weight: 600;
}

.gd-intake-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 260px;
  max-width: 360px;
}
.gd-intake-progress-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  white-space: nowrap;
}
.gd-progress-track {
  flex: 1;
  height: 5px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}
.gd-progress-fill {
  height: 100%;
  border-radius: 999px;
}
.gd-progress-green { background: #22c55e; }
.gd-progress-blue { background: #3b82f6; }
.gd-progress-yellow { background: #f59e0b; }
.gd-intake-progress-count {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
}
.gd-intake-progress-count span {
  color: #9ca3af;
  font-weight: 500;
}

.gd-intake-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.gd-intake-table-card {
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.gd-intake-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.gd-intake-levels {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.gd-filter-label {
  font-size: 11px;
  color: #9ca3af;
  margin-right: 4px;
}
.gd-results-summary {
  padding: 0.5rem 1rem 0;
  font-size: 12px;
}
.gd-intake-table-wrap {
  margin: 0;
}
.gd-intake-table-wrap.tests-table-wrapper {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.gd-intake-tests-table.tests-table {
  border-collapse: collapse;
  border-spacing: 0;
}
.gd-intake-tests-table.test-table thead th {
  padding: 0.75rem 1rem;
  border-top: 0 !important;

}
.gd-intake-tests-table.test-table tbody td {
  padding: 0.55rem 1rem;
}
.gd-intake-tests-table.tests-table thead th {
  padding: 0.75rem 1rem;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  vertical-align: middle !important;
  text-transform: none;
  background-color: #f4f4f7;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0;
}
.gd-intake-student-head,
.gd-intake-student-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.gd-intake-student-head .form-check,
.gd-intake-student-cell .form-check {
  flex-shrink: 0;
}
.gd-intake-student-cell .gd-avatar,
.gd-intake-student-cell .gd-student-name {
  flex-shrink: 0;
}
.gd-intake-student-cell .gd-student-name {
  min-width: 0;
}
.gd-intake-th-action {
  padding-right: 1rem !important;
}
.gradingly-school-shell .table thead th .form-check,
.gd-custom-modal .table thead th .form-check {
  font-size: 1rem;
  margin-bottom: 0;
}

.gd-intake-table-card .gd-intake-tests-table .form-check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.gd-intake-table-card .gd-intake-tests-table .form-check-input {
  float: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  background-color: #fff;
  background-size: 12px 12px;
}

.gd-intake-table-card .gd-intake-tests-table .form-check-input:checked {
  background-color: #2b85f0;
  border-color: #2b85f0;
}

.gd-intake-table-card .gd-intake-tests-table .form-check-input:focus {
  border-color: #2b85f0;
  box-shadow: 0 0 0 3px rgba(43, 133, 240, 0.18);
}

.gd-intake-table-card .gd-intake-tests-table .form-check-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gd-intake-table-card .gd-intake-tests-table thead th .form-check {
  font-size: 14px;
}

.gradingly-school-shell .table .form-check.mb-0,
.gd-custom-modal .table .form-check.mb-0 {
  margin-bottom: 0 !important;
}
.gd-intake-tests-table.tests-table tbody td {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  padding: 0.55rem 1rem;
  vertical-align: middle;
  font-size: 13px;
}
.gd-intake-table-card .gd-intake-tests-table.tests-table tbody tr.gd-intake-row td {
  border-bottom: 1px solid #e5e7eb !important;
}
.gd-intake-table-card > .table-responsive-sm,
.gd-intake-table-card > .table-responsive-md {
  margin-bottom: 0 !important;
}
.gd-intake-row {
  cursor: pointer;
  transition: background 0.15s;
}
.gd-intake-row:hover {
  background: #f9fafb;
}
.gd-intake-row-not-selectable {
  cursor: default;
}
.gd-intake-row-not-selectable:hover {
  background: transparent;
}
.gd-row-selected {
  background: #eff6ff;
}
.gd-row-selected:hover {
  background: #eff6ff;
}
.gd-intake-table-card .gd-avatar {
  flex-shrink: 0;
}
.gd-student-name {
  font-weight: 600;
  color: #111827;
}

.gd-empty {
  color: #9ca3af;
}
.gd-score {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.gd-tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}
/* .gd-tag-pill:hover {
  border-color: #60a5fa;
  background: #eff6ff;
  color: #1d4ed8;
} */
.gd-tag-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #9ca3af;
  border: 1px dashed #e5e7eb;
  border-radius: 6px;
  padding: 2px 8px;
  background: #fff;
}
.gd-tag-add:hover {
  color: #2b85f0;
  border-color: #93c5fd;
  background: #eff6ff;
}
.gd-row-action-cell {
  text-align: right;
  vertical-align: middle;
}
.gd-intake-tests-table .gd-row-action {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.gd-intake-row:hover .gd-row-action,
.gd-intake-row:focus-within .gd-row-action {
  opacity: 1;
  pointer-events: auto;
}
.gd-date-cell {
  color: #6b7280;
  white-space: nowrap;
}

.gd-bulk-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 0.6rem 1rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}
.gd-bulk-count {
  font-size: 13px;
  color: #6b7280;
}
.gd-bulk-count strong {
  color: #111827;
}
.gd-bulk-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gd-intake-class-picker {
  position: relative;
}
.gd-intake-class-trigger.is-disabled,
.gd-intake-class-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.gd-intake-class-create:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.gd-intake-class-trigger-chevron {
  font-size: 10px;
  opacity: 0.9;
  transition: transform 0.15s ease;
}
.gd-intake-class-trigger.is-open .gd-intake-class-trigger-chevron {
  transform: rotate(180deg);
}
.gd-intake-class-menu {
  position: fixed;
  z-index: 1300;
  min-width: 280px;
  max-width: 360px;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
}
.gd-intake-class-menu[hidden] {
  display: none !important;
}
.gd-intake-class-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.gd-intake-class-option:hover {
  background: #f9fafb;
}
.gd-intake-class-option .gd-level-chip {
  flex-shrink: 0;
  min-width: 2rem;
  text-align: center;
  font-size: 10px;
  padding: 2px 6px;
}
.gd-intake-class-option-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  line-height: 1.35;
}
.gd-intake-class-menu-divider {
  height: 1px;
  margin: 0.35rem 0.5rem;
  background: #e5e7eb;
}
.gd-intake-class-create {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #2b85f0;
  cursor: pointer;
  text-align: left;
}
.gd-intake-class-create:hover {
  background: #eff6ff;
}

.gd-search-wrapper {
  position: relative;
  width: 220px;
}
.gd-search-wrapper.flex-grow-1 {
  width: auto;
  max-width: none;
  flex: 1 1 200px;
}
.gd-intake-filter-bar .gd-search-wrapper.search-input-wrapper {
  width: 240px;
}
.gd-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 12px;
  z-index: 1;
  pointer-events: none;
}
.gd-search-input,
.gd-search-input.search-input {
  width: 100%;
  height: 36px;
  padding-left: 32px;
  font-size: 13px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
  background: #fff;
}
.gd-search-input:focus {
  border-color: #2b85f0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.gd-level-pill {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gd-level-pill.active {
  background: #2b85f0;
  color: #fff;
  border-color: #2b85f0;
}
.gd-level-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.gd-level-dot.A2 { background: #7f1d1d; }
.gd-level-dot.B1 { background: #ea580c; }
.gd-level-dot.B2 { background: #16a34a; }
.gd-level-dot.C1 { background: #2b85f0; }
.gd-level-dot.C2 { background: #7c3aed; }

.gd-modal-header-text {
  min-width: 0;
}
.gd-modal-section {
  margin: 0.5rem 0 0.75rem;
}
.gd-modal-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}
.gd-modal-section-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
.gd-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
@media (max-width: 768px) {
  .gd-mode-grid {
    grid-template-columns: 1fr;
  }
}
.gd-mode-text {
  display: block;
}
.gd-mode-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}
.gd-mode-desc {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}
.gd-section-text {
  min-width: 0;
}
.gd-section-count {
  font-size: 11px;
  font-weight: 600;
  color: #2b85f0;
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: auto;
}
.gd-roster-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.gd-level-filter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.gd-modal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}
.gd-modal-summary-count {
  font-size: 13px;
  color: #6b7280;
}
.gd-modal-seat-count {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.gd-modal-seat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
}
.gd-modal-link {
  font-size: 12px;
  font-weight: 600;
  color: #2b85f0;
  background: transparent;
  border: 0;
}
.gd-modal-link:hover {
  background: #eff6ff;
  border-radius: 6px;
}
.gd-modal-link:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gd-custom-modal .modal-dialog {
  margin: 1rem auto;
}
.gd-custom-modal.modal {
  padding-right: 0 !important;
}
.gd-custom-modal .modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 2rem);
}
.gd-intake-add-modal .gd-modal-dialog { max-width: 820px; width: calc(100% - 2rem); }
.gd-invite-preview-modal .gd-modal-dialog { max-width: 560px; }
.gd-intake-class-modal .gd-modal-dialog { max-width: 440px; }
.gd-intake-class-modal .gd-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gd-intake-class-modal .gd-class-form-field,
.gd-classes-create-modal .gd-class-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.gd-intake-class-modal .gd-class-form-field-level,
.gd-classes-create-modal .gd-class-form-field-level {
  max-width: 50%;
}
.gd-intake-class-modal .gd-class-text-input,
.gd-classes-create-modal .gd-class-text-input {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #111827;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: none;
}
.gd-intake-class-modal .gd-class-text-input:focus,
.gd-classes-create-modal .gd-class-text-input:focus {
  outline: none;
  border-color: #2b85f0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.gd-intake-class-modal .gd-class-text-input::placeholder,
.gd-classes-create-modal .gd-class-text-input::placeholder {
  color: #9ca3af;
}
.gd-intake-class-modal .gd-class-select-shell,
.gd-classes-create-modal .gd-class-select-shell {
  position: relative;
  width: 100%;
}
.gd-intake-class-modal .gd-class-select,
.gd-classes-create-modal .gd-class-select {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 2.25rem 0 0.75rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #111827;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-shadow: none;
}
.gd-intake-class-modal .gd-class-select:focus,
.gd-classes-create-modal .gd-class-select:focus {
  outline: none;
  border-color: #2b85f0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.gd-intake-class-modal .gd-class-select-chevron,
.gd-classes-create-modal .gd-class-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  font-size: 11px;
  line-height: 1;
}
.gd-intake-assign-tag-modal .gd-modal-dialog { max-width: 440px; }
.gd-classes-create-modal .gd-modal-dialog {
  max-width: 720px;
  width: calc(100% - 2rem);
}

.gd-classes-create-modal .gd-intake-table-wrap {
  max-height: min(360px, 42vh);
  overflow-y: auto;
}
.gd-classes-create-modal .gd-cc-tag-pills-row {
  flex-wrap: wrap;
  gap: 0.35rem;
}
.gd-classes-create-modal .gd-cc-modal-content {
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
}
.gd-classes-create-modal .gd-cc-modal-header {
  flex-shrink: 0;
}
.gd-classes-create-modal .gd-cc-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gd-classes-create-modal .gd-cc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gd-classes-create-modal .gd-cc-select-shell {
  position: relative;
  width: 100%;
}
.gd-classes-create-modal .gd-cc-select {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 2.25rem 0 0.75rem;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #111827;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-shadow: none;
}
.gd-classes-create-modal .gd-cc-select:focus {
  outline: none;
  border-color: #2b85f0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.gd-classes-create-modal .gd-cc-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  font-size: 11px;
  line-height: 1;
}

.gd-classes-create-modal .gd-cc-student-table-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  max-height: min(320px, 38vh);
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  flex: 1 1 auto;
  min-height: 120px;
}
.gd-classes-create-modal .gd-cc-student-table-wrap .gd-intake-tests-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f9fafb;
}
.gd-classes-create-modal .gd-cc-student-table {
  margin: 0;
  width: 100%;
  table-layout: fixed;
}

.gd-classes-create-modal .gd-cc-student-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.5rem 0.75rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  white-space: nowrap;
}

.gd-classes-create-modal .gd-cc-student-table td {
  padding: 0.55rem 0.75rem;
  vertical-align: middle;
  font-size: 13px;
}

.gd-classes-create-modal .gd-modal-footer {
  flex-shrink: 0;
}

.gd-classes-create-modal .gd-btn-primary#gdCcSubmit {
  background: #2b85f0;
  border-color: #2b85f0;
}
.gd-classes-create-modal .gd-btn-primary#gdCcSubmit:hover:not(:disabled) {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.gd-classes-create-modal .gd-btn-primary#gdCcSubmit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
html.gd-school-modal-open {
  overflow: hidden !important;
}
.gd-intake-add-modal .table-responsive-sm {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.gd-form-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}

.gd-modal-error {
  font-size: 12px;
  color: #dc2626;
  margin-top: 6px;
}

.gd-email-meta {
  font-size: 12px;
  color: #9ca3af;
}
.gd-email-label {
  color: #4b5563;
  font-weight: 600;
}
.gd-email-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.gd-email-body {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.gd-email-cta {
  display: inline-block;
  background: #2b85f0;
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.gd-email-cta:hover { background: #1d4ed8; color: #fff; }
.gd-email-footnote {
  font-size: 12px;
  color: #9ca3af;
}
.gd-email-template { font-size: 11px; color: #9ca3af; }
