/* Center enroll wizard — homepage dark branding (#121212 / #d4f600) */

.enroll-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
}

.enroll-hero {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 1rem 3.25rem;
    text-align: center;
}

.enroll-hero::before {
    content: "";
    position: absolute;
    inset: -40% -25% auto;
    height: 85%;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 246, 0, 0.16), transparent 55%),
        radial-gradient(circle at 85% 25%, rgba(33, 150, 243, 0.1), transparent 50%);
    filter: blur(80px);
    pointer-events: none;
}

.enroll-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin: 0 auto;
}

.enroll-live-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 246, 0, 0.35);
    background: rgba(212, 246, 0, 0.1);
    color: #d4f600;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.enroll-live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #d4f600;
    box-shadow: 0 0 0 4px rgba(212, 246, 0, 0.2);
}

.enroll-hero h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.enroll-hero .subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.5;
}

.enroll-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 74rem;
    margin: 0 auto;
    padding: 0 1rem 4rem;
    align-items: start;
}

.enroll-how {
    order: -1;
}

.enroll-wizard {
    order: 0;
    min-width: 0;
}

.enroll-container {
    max-width: none;
    margin: 0;
    padding: 0;
}

.wizard-meta {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 auto 1rem;
}

.timeline-progress {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1rem 1.1rem;
    margin: 0 auto 1.75rem;
    max-width: 42rem;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 1.15rem;
    left: 16%;
    right: 16%;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 1;
}

.timeline-progress-fill {
    position: absolute;
    top: 1.15rem;
    left: 16%;
    height: 2px;
    background: #d4f600;
    z-index: 1;
    width: 0;
    transition: width 0.35s ease;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.timeline-step-number {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #1a1c20;
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.45rem;
}

.timeline-step.active .timeline-step-number,
.timeline-step.completed .timeline-step-number {
    background: #d4f600;
    color: #111111;
    border-color: #d4f600;
}

.timeline-step-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}

.timeline-step.active .timeline-step-label,
.timeline-step.completed .timeline-step-label {
    color: #ffffff;
}

.step-content {
    background: #121212;
    border-radius: 16px;
    padding: 1.75rem 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-header {
    margin-bottom: 1.5rem;
}

.step-header h2 {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.step-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
}

.optional-pill {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.form-control,
.time-select {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #0b0b0b;
    color: #ffffff;
}

.form-control:focus,
.time-select:focus {
    outline: none;
    border-color: #d4f600;
    box-shadow: 0 0 0 3px rgba(212, 246, 0, 0.18);
}

.form-control.is-invalid {
    border-color: #ef5350;
    box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.15);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-control {
    padding-right: 2.75rem;
}

.password-toggle-btn {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.password-toggle-btn:hover {
    color: #d4f600;
}

.password-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 246, 0, 0.35);
}

.password-toggle-btn svg {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

.form-text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.4rem;
    line-height: 1.4;
}

.required {
    color: #ef5350;
}

.brand-colors {
    margin-bottom: 1.75rem;
}

.brand-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.brand-color-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.brand-color-field input[type="color"] {
    width: 100%;
    height: 2.5rem;
    padding: 0.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #121212;
    cursor: pointer;
}

.brand-preview {
    padding: 1.15rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #d4f600;
    background: #0a0a0a;
    color: #e5e5e5;
}

.brand-preview-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.brand-preview-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #d4f600;
}

.brand-preview-copy {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.brand-preview-btn {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    background: #d4f600;
    color: #0a0a0a;
    font-size: 0.8125rem;
    font-weight: 600;
}

.otp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
}

.otp-row .form-control {
    flex: 1 1 12rem;
}

.otp-row .btn {
    flex: 0 0 auto;
}

.field-error {
    display: none;
    color: #ef9a9a;
    font-size: 0.8125rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0b0b0b;
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.toggle-row:hover,
.toggle-row.is-on {
    border-color: rgba(212, 246, 0, 0.45);
}

.toggle-switch {
    position: relative;
    width: 2.5rem;
    height: 1.4rem;
    flex: 0 0 2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    transition: background 0.2s ease;
}

.toggle-switch::after {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.toggle-row.is-on .toggle-switch {
    background: #d4f600;
}

.toggle-row.is-on .toggle-switch::after {
    transform: translateX(1.1rem);
}

.org-name-group {
    display: none;
}

.org-name-group.is-open {
    display: block;
}

.step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn {
    padding: 0.85rem 1.4rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    flex: 1;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: #d4f600;
    color: #111111 !important;
}

.btn-primary:hover:not(:disabled) {
    background: #b4e870;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
    background: transparent;
    color: #d4f600;
    border: 1px dashed rgba(212, 246, 0, 0.4);
}

.btn-ghost:hover:not(:disabled) {
    background: rgba(212, 246, 0, 0.08);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.activity-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.activity-card {
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.15rem;
}

.activity-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.activity-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.activity-remove {
    background: none;
    border: none;
    color: #ef9a9a;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.activity-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.heads-up-row {
    display: flex;
    gap: 0.5rem;
}

.heads-up-row .form-control {
    flex: 1;
}

.heads-up-row select.form-control {
    flex: 0 0 110px;
}

.activity-card,
.activity-card-body,
.time-slot,
.time-pair,
.time-selects {
    min-width: 0;
}

.activity-card-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.activity-times {
    margin-top: 0;
    padding-top: 1rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
}

.activity-times-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}

.time-slot {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.9rem;
    margin-bottom: 0.75rem;
}

.time-slot-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    align-items: start;
    margin-bottom: 0.85rem;
}

.time-pair {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.time-pair-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.time-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    max-width: 100%;
}

.time-selects .time-select {
    width: auto;
    min-width: 0;
    flex: 1 1 3.4rem;
    max-width: 100%;
    padding: 0.5rem 0.35rem;
    font-size: 0.8125rem;
}

.time-colon {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
}

.time-slot-remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.55rem 0.2rem;
    font-family: inherit;
    white-space: nowrap;
}

.time-slot-remove:hover {
    color: #ef9a9a;
}

.day-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.day-chip {
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
}

.day-chip.active {
    background: #d4f600;
    color: #111111;
    border-color: #d4f600;
}

.btn-link {
    background: none;
    color: #d4f600;
    border: none;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    padding: 0.25rem 0;
}

.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.4rem;
}

.section-copy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 1.15rem;
    line-height: 1.45;
}

.schedule-extra {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #0b0b0b;
}

.collapsible-toggle {
    background: none;
    border: none;
    color: #d4f600;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    padding: 0;
}

.collapsible-content {
    margin-top: 0.85rem;
    display: none;
}

.collapsible-content.expanded {
    display: block;
}

.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    background: #121212;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

.upload-area:hover {
    border-color: #d4f600;
    background: rgba(212, 246, 0, 0.04);
}

.upload-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.upload-text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.35rem;
}

.uploaded-files {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.uploaded-file-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    background: #121212;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.file-preview,
.video-preview {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    background: #000;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.15rem;
}

.file-remove {
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    font-size: 0.8125rem;
    font-family: inherit;
}

.success-message {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.success-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.copy-link-box {
    text-align: left;
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin: 0 auto 1.5rem;
    max-width: 32rem;
}

.copy-link-box label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.copy-link-row {
    display: flex;
    gap: 0.5rem;
}

.copy-link-row input {
    flex: 1;
    min-width: 0;
}

.copy-link-row .btn {
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
}

.copy-link-hint {
    margin: 0.55rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

.copy-toast {
    display: none;
    margin-top: 0.5rem;
    color: #d4f600;
    font-size: 0.8125rem;
    font-weight: 600;
}

.loading-animation-container {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.86);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-animation-container.active {
    display: flex;
}

.jumping-icon-wrapper {
    position: relative;
    width: 120px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.jumping-icon {
    width: 120px;
    height: 150px;
    color: #d4f600;
    animation: enrollJump 2s ease-in-out infinite;
}

.jumping-shadow {
    width: 120px;
    height: 6px;
    background: #d4f600;
    border-radius: 50%;
    filter: blur(4px);
    margin-top: 10px;
    opacity: 0.35;
}

@keyframes enrollJump {
    0%, 50%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-22px) rotate(0deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

.enroll-live-count #liveCentersCount {
    font-variant-numeric: tabular-nums;
    min-width: 2.5ch;
    display: inline-block;
    text-align: right;
}

.enroll-how {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.2rem 1.4rem;
}

.enroll-how h2 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.enroll-how-lead {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.5;
}

.enroll-how-item {
    padding: 0.85rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.enroll-how-item strong {
    display: block;
    color: #d4f600;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.enroll-how-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
    line-height: 1.45;
}

.schedule-method-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.72);
}

.schedule-method-modal.is-open {
    display: flex;
}

.schedule-method-dialog {
    width: min(32rem, 100%);
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.6rem 1.35rem 1.4rem;
    transform: translateY(16px) scale(0.96);
    opacity: 0;
}

.schedule-method-modal.is-open .schedule-method-dialog {
    animation: enrollModalIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes enrollModalIn {
    from { opacity: 0; transform: translateY(18px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.schedule-prompt {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d4f600;
}

.schedule-method-dialog h3 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    line-height: 1.3;
}

.schedule-method-dialog p {
    margin: 0 0 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
}

.schedule-method-choice {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 0.65rem;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0b0b0b;
    color: #fff;
    font-family: inherit;
    cursor: pointer;
}

.schedule-method-choice:hover,
.schedule-method-choice.is-selected {
    border-color: #d4f600;
    background: rgba(212, 246, 0, 0.08);
}

.schedule-method-choice strong {
    display: block;
    margin-bottom: 0.2rem;
}

.schedule-method-choice span {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
}

.time-slot-remove {
    text-align: left;
    padding: 0.15rem 0 0;
}

@media (min-width: 960px) {
    .enroll-layout {
        grid-template-columns: minmax(0, 1fr) 22rem;
        gap: 1.75rem;
    }

    .enroll-wizard {
        order: 0;
    }

    .enroll-how {
        order: 1;
        position: sticky;
        top: calc(var(--public-header-offset, 5.5rem) + 1rem);
    }

    .activity-card-body {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .activity-times {
        padding-top: 0;
        padding-left: 1rem;
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .time-slot-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .enroll-hero h1 {
        font-size: 1.65rem;
    }

    .step-content {
        padding: 1.25rem 1rem 1.5rem;
    }

    .heads-up-row select.form-control {
        flex: 0 0 100px;
    }
}

.weekly-board {
    margin: 1.25rem 0 0.5rem;
}

.weekly-board-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 0.75rem;
}

.weekly-board-head h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.weekly-board-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.weekly-board-mobile-copy {
    display: none;
}

.weekly-scroll {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #121212;
}

.weekly-grid {
    display: grid;
    grid-template-columns: 3.25rem repeat(7, minmax(6.5rem, 1fr));
    min-width: 52rem;
}

.week-corner,
.week-head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.week-head {
    padding: 0.55rem 0.35rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.week-hour-label {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.15rem 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
    box-sizing: border-box;
}

.week-day-col {
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.week-cell {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    cursor: pointer;
}

.week-cell:hover {
    background: rgba(212, 246, 0, 0.06);
}

.week-slot {
    position: absolute;
    left: 4px;
    right: 4px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 0.25rem 0.4rem;
    border: 0;
    border-radius: 8px;
    text-align: left;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.week-slot strong,
.week-slot span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.72rem;
}

.slot-editor {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #181818;
}

.slot-editor h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.slot-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: 0.75rem;
}

.slot-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.week-day-tabs {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: calc(var(--public-header-offset, 4.25rem) + 0.15rem);
    z-index: 6;
    margin: 0 -0.15rem 0.75rem;
    padding: 0.35rem 0.15rem 0.55rem;
    background: #000;
}

.week-day-tab {
    flex: 0 0 auto;
    scroll-snap-align: center;
    min-width: 3.4rem;
    min-height: 2.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #121212;
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.week-day-tab em {
    font-style: normal;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.68rem;
    line-height: 1.15rem;
}

.week-day-tab.is-selected {
    background: #d4f600;
    color: #111;
    border-color: #d4f600;
}

.week-day-tab.is-selected em {
    background: rgba(0, 0, 0, 0.12);
}

.week-agenda-title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
}

.week-agenda-empty {
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

.week-agenda-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
    min-height: 4.25rem;
    margin: 0 0 0.6rem;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 14px;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.week-agenda-card strong {
    font-size: 1.05rem;
    line-height: 1.2;
}

.week-agenda-card span,
.week-agenda-card small {
    font-size: 0.95rem;
}

.week-agenda-add {
    width: 100%;
    min-height: 3rem;
    margin-top: 0.35rem;
}

.slot-editor-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    border: 0;
    background: rgba(0, 0, 0, 0.62);
}

body.timetable-sheet-open {
    overflow: hidden;
}

@media (min-width: 821px) and (max-width: 1100px) {
    .weekly-grid {
        min-width: 0;
        grid-template-columns: 2.5rem repeat(7, minmax(0, 1fr));
    }

    .week-head {
        font-size: 0.68rem;
        padding: 0.45rem 0.1rem;
    }
}

@media (max-width: 820px) {
    .weekly-board-head {
        flex-direction: column;
        align-items: stretch;
    }

    .weekly-board-desktop-copy {
        display: none;
    }

    .weekly-board-mobile-copy {
        display: block;
    }

    #addWeeklySlotBtn,
    #addActivityBtn {
        min-height: 3rem;
    }

    .activity-remove {
        min-height: 2.75rem;
        padding: 0.4rem 0.2rem;
    }

    .step-actions {
        flex-direction: column;
    }

    .step-actions .btn {
        width: 100%;
        min-height: 3rem;
    }

    .slot-editor.is-sheet {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        margin: 0;
        max-height: min(92dvh, 100%);
        overflow: auto;
        border-radius: 18px 18px 0 0;
        padding: 0.85rem 1rem calc(1rem + env(safe-area-inset-bottom));
        box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.45);
    }

    .slot-editor.is-sheet::before {
        content: "";
        display: block;
        width: 2.5rem;
        height: 0.28rem;
        margin: 0.15rem auto 0.85rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.28);
    }

    .slot-editor.is-sheet .slot-editor-grid {
        grid-template-columns: 1fr;
    }

    .slot-editor.is-sheet .form-control,
    .slot-editor.is-sheet select {
        min-height: 3rem;
        font-size: 16px;
    }

    .slot-editor-actions {
        flex-direction: column-reverse;
    }

    .slot-editor-actions .btn {
        width: 100%;
        min-height: 3rem;
    }
}
