/* ============================================================
   STYLE.CSS — Design System & Component Styles
   MOST 2026 Registration System
   ============================================================ */

/* Anti FOUT (Flash of Unstyled Text) Icon Shield — ZERO TEXT FLASH GUARANTEE */
.material-symbols-outlined,
.material-icons {
    font-family: 'Material Symbols Outlined', 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: opacity 0.15s ease-in;
}

html.fonts-loaded .material-symbols-outlined,
html.fonts-loaded .material-icons,
body.fonts-loaded .material-symbols-outlined,
body.fonts-loaded .material-icons {
    visibility: visible !important;
    opacity: 1 !important;
}

/* ─── Design Tokens ───────────────────────────────────────── */
:root {
    /* Brand Colors */
    --orange: #F97316;
    --orange-light: #FDBA74;
    --red: #EF4444;
    --red-light: #FCA5A5;
    --purple: #9333EA;
    --purple-light: #C084FC;
    --blue: #2563EB;
    --blue-light: #93C5FD;
    --green: #84CC16;
    --green-light: #BEF264;

    /* Neutrals */
    --white: #FFFFFF;
    --bg: #FFFFFF;
    --bg-muted: #F8FAFC;
    --bg-subtle: #F1F5F9;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F97316, #EF4444, #9333EA);
    --gradient-primary-hover: linear-gradient(135deg, #EA6C0B, #DC2626, #7E22CE);
    --gradient-hero: linear-gradient(135deg, #F97316 0%, #EF4444 30%, #9333EA 60%, #2563EB 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(147,51,234,0.08));
    --gradient-card: linear-gradient(135deg, rgba(249,115,22,0.04), rgba(37,99,235,0.04));

    /* Spacing */
    --radius: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --radius-full: 9999px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 40px rgba(249,115,22,0.15), 0 0 80px rgba(147,51,234,0.1);

    /* Glass */
    --glass-bg: rgba(255,255,255,0.72);
    --glass-bg-strong: rgba(255,255,255,0.88);
    --glass-border: rgba(255,255,255,0.5);
    --glass-blur: blur(16px);

    /* Transitions */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ─── Material Symbols Icon System ───────────────────────── */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v264/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIceeII9vUfaX57dptJ6OX893n3x40C26895pB.woff2) format('woff2');
}

.material-symbols-outlined, .material-icons {
    font-family: 'Material Symbols Outlined', 'Material Icons', sans-serif !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga' 1;
    -webkit-font-feature-settings: 'liga' 1;
}

/* ─── Anti FOUT (Flash of Unstyled Text) Icon Shield ─────── */
html:not(.fonts-loaded) .material-symbols-outlined,
html:not(.fonts-loaded) .material-icons {
    color: transparent !important;
    text-shadow: none !important;
    user-select: none !important;
}

@media (max-width: 768px) {
    .desktop-only-inline {
        display: none !important;
    }
}

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--bg);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ─── Page Transitions ────────────────────────────────────── */
#app {
    min-height: 100vh;
    transition: opacity 0.2s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}
.page-exit {
    opacity: 0;
    transform: translateY(8px);
}
.page-enter {
    animation: pageEnter 0.5s var(--ease-out) forwards;
}
@keyframes pageEnter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.btn .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s var(--ease-spring);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(249,115,22,0.3);
}
.btn-primary:hover {
    background: var(--gradient-primary-hover);
    box-shadow: 0 6px 20px rgba(249,115,22,0.4);
    transform: translateY(-2px);
}
.btn-primary:hover .material-symbols-outlined {
    transform: translateX(3px);
}
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(249,115,22,0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}
.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(249,115,22,0.04);
}

.btn-nav {
    background: var(--white);
    color: var(--gray-800);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--gray-100);
}
.btn-nav:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(249,115,22,0.3);
}

.btn-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(249,115,22,0.35);
    letter-spacing: 0.02em;
}
.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(249,115,22,0.45);
}
.btn-hero:active {
    transform: translateY(-1px) scale(1);
}

.btn-hero-secondary {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    color: var(--gray-700);
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid var(--glass-border);
}
.btn-hero-secondary:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
}

.btn-back {
    background: transparent;
    color: var(--gray-500);
    padding: 12px 24px;
    font-weight: 500;
}
.btn-back:hover {
    color: var(--gray-800);
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

.btn-confirm {
    background: linear-gradient(135deg, var(--green), #22C55E);
    color: white;
    padding: 14px 32px;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(34,197,94,0.3);
}
.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34,197,94,0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--red), #DC2626);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-full);
}

.btn-download {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(249,115,22,0.3);
    width: 100%;
    max-width: 320px;
}
.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249,115,22,0.4);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-loading {
    pointer-events: none;
    position: relative;
}
.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ─── Cards ───────────────────────────────────────────────── */
.card {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 36px;
}

.card-solid {
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 36px;
}

/* ─── Form Elements ───────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.3s var(--ease-smooth);
    outline: none;
}
.form-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249,115,22,0.1);
}
.form-input::placeholder {
    color: var(--gray-400);
}
.form-input.error {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
}
.form-input.success {
    border-color: var(--green);
}
.form-input:disabled, .form-input[readonly] {
    background: var(--bg-subtle);
    color: var(--gray-600);
    cursor: not-allowed;
    border-color: var(--gray-200);
}

.form-input-icon {
    position: relative;
}
.form-input-icon .material-symbols-outlined {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 20px;
    pointer-events: none;
}
.form-input-icon .form-input {
    padding-left: 44px;
    padding-right: 48px;
}
.form-input-icon .form-input:focus ~ .material-symbols-outlined,
.form-input-icon .form-input:focus + .material-symbols-outlined {
    color: var(--orange);
}
.form-input-icon .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    z-index: 10;
}
.form-input-icon .toggle-password:hover {
    color: var(--gray-600);
}

.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.3s var(--ease-smooth);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 44px;
    cursor: pointer;
}
.form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249,115,22,0.1);
}

.form-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 6px;
}

.form-error-text {
    font-size: 12px;
    color: var(--red);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.form-error-text .material-symbols-outlined {
    font-size: 14px;
}

/* ─── Password Strength ──────────────────────────────────── */
.password-strength {
    margin-top: 12px;
}
.password-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 10px;
}
.password-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.4s var(--ease-smooth), background 0.4s var(--ease-smooth);
    width: 0%;
}
.password-bar-fill[data-strength="1"] { width: 25%; background: var(--red); }
.password-bar-fill[data-strength="2"] { width: 50%; background: var(--orange); }
.password-bar-fill[data-strength="3"] { width: 75%; background: #EAB308; }
.password-bar-fill[data-strength="4"] { width: 100%; background: var(--green); }

.password-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}
.password-check {
    font-size: 12px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}
.password-check .material-symbols-outlined {
    font-size: 16px;
    transition: color 0.3s;
}
.password-check.passed {
    color: var(--green);
}

/* ─── Radio Buttons (Modern) ─────────────────────────────── */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    position: relative;
    cursor: pointer;
}
.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.radio-option .radio-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: all 0.3s var(--ease-smooth);
}
.radio-option .radio-card:hover {
    border-color: var(--orange-light);
    background: rgba(249,115,22,0.02);
}
.radio-option input:checked + .radio-card {
    border-color: var(--orange);
    background: rgba(249,115,22,0.04);
    box-shadow: 0 0 0 4px rgba(249,115,22,0.08);
}
.radio-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-smooth);
}
.radio-option input:checked + .radio-card .radio-dot {
    border-color: var(--orange);
    background: var(--orange);
}
.radio-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    transition: transform 0.3s var(--ease-spring);
}
.radio-option input:checked + .radio-card .radio-dot::after {
    transform: translate(-50%, -50%) scale(1);
}
.radio-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 15px;
}
.radio-icon {
    color: var(--gray-400);
    margin-left: auto;
    transition: color 0.3s;
}
.radio-option input:checked + .radio-card .radio-icon {
    color: var(--orange);
}

.conditional-info {
    margin-top: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(37,99,235,0.02));
    border: 1.5px solid rgba(37,99,235,0.15);
    border-radius: var(--radius-sm);
    color: var(--blue);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: slideDown 0.3s var(--ease-out);
}
.conditional-info .material-symbols-outlined {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); max-height: 0; }
    to { opacity: 1; transform: translateY(0); max-height: 200px; }
}

/* ─── File Upload Zone ────────────────────────────────────── */
.upload-zone {
    border: 2.5px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    background: var(--bg-muted);
    position: relative;
}
.upload-zone:hover {
    border-color: var(--orange);
    background: rgba(249,115,22,0.03);
}
.upload-zone.dragover {
    border-color: var(--orange);
    background: rgba(249,115,22,0.06);
    transform: scale(1.01);
    box-shadow: 0 0 0 6px rgba(249,115,22,0.08);
}
.upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 48px;
    color: var(--gray-300);
    margin-bottom: 12px;
    transition: color 0.3s, transform 0.3s;
}
.upload-zone:hover .upload-icon {
    color: var(--orange);
    transform: translateY(-4px);
}

.upload-text {
    color: var(--gray-500);
    font-size: 14px;
}
.upload-text strong {
    color: var(--orange);
    font-weight: 600;
}

.upload-formats {
    margin-top: 10px;
    font-size: 12px;
    color: var(--gray-400);
}

.file-preview {
    margin-top: 16px;
    padding: 16px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: slideDown 0.3s var(--ease-out);
}
.file-preview-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.file-preview-icon.image {
    overflow: hidden;
}
.file-preview-icon.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xs);
}
.file-preview-icon.pdf {
    background: rgba(239,68,68,0.1);
    color: var(--red);
}
.file-preview-info {
    flex: 1;
    min-width: 0;
}
.file-preview-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-800);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-preview-size {
    font-size: 12px;
    color: var(--gray-400);
}
.file-preview-remove {
    padding: 6px;
    border-radius: 50%;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border: none;
}
.file-preview-remove:hover {
    background: rgba(239,68,68,0.1);
    color: var(--red);
}

/* ─── Photo Upload ────────────────────────────────────────── */
.photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px dashed var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-muted);
    position: relative;
}
.photo-preview:hover {
    border-color: var(--orange);
    border-style: solid;
}
.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-preview .material-symbols-outlined {
    font-size: 36px;
    color: var(--gray-300);
}
.photo-preview.has-photo {
    border-style: solid;
    border-color: var(--green);
}
.photo-upload-text {
    font-size: 13px;
    color: var(--gray-400);
    text-align: center;
}

/* ─── Progress Stepper ────────────────────────────────────── */
.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 10px;
    margin-bottom: 36px;
    position: relative;
}

.stepper-line {
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    z-index: 0;
}
.stepper-line-fill {
    position: absolute;
    top: 22px;
    left: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    z-index: 1;
    transition: width 0.6s var(--ease-smooth);
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    cursor: default;
    min-width: 70px;
}

.stepper-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2.5px solid var(--gray-200);
    color: var(--gray-400);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
}
.stepper-circle .material-symbols-outlined {
    font-size: 20px;
}

.stepper-item.active .stepper-circle {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(249,115,22,0.3);
    transform: scale(1.1);
}

.stepper-item.completed .stepper-circle {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.stepper-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-400);
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s;
}
.stepper-item.active .stepper-label {
    color: var(--orange);
    font-weight: 700;
}
.stepper-item.completed .stepper-label {
    color: var(--green);
    font-weight: 600;
}

/* ─── Toast Notifications ─────────────────────────────────── */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border: 1.5px solid var(--gray-100);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    pointer-events: all;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s var(--ease-spring);
    max-width: 380px;
}
.toast-show {
    opacity: 1;
    transform: translateX(0);
}
.toast-hide {
    opacity: 0;
    transform: translateX(100%);
}

.toast-icon {
    font-size: 22px;
    flex-shrink: 0;
}
.toast-success .toast-icon { color: var(--green); }
.toast-error .toast-icon { color: var(--red); }
.toast-info .toast-icon { color: var(--blue); }
.toast-warning .toast-icon { color: var(--orange); }

.toast-success { border-left: 4px solid var(--green); }
.toast-error { border-left: 4px solid var(--red); }
.toast-info { border-left: 4px solid var(--blue); }
.toast-warning { border-left: 4px solid var(--orange); }

/* ─── Modal ───────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}
.modal-overlay.active {
    opacity: 1;
}
.modal-overlay.hidden {
    display: none;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 32px 24px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-spring);
}
.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-icon {
    font-size: 56px;
    margin-bottom: 16px;
}
.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.modal-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}
.otp-input {
    width: 50px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all 0.2s;
    color: var(--gray-800);
}
.otp-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249,115,22,0.1);
}

/* ─── Summary (Step 6) ────────────────────────────────────── */
.summary-grid {
    display: grid;
    gap: 0;
}
.summary-row {
    display: flex;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 16px;
}
.summary-row:last-child {
    border-bottom: none;
}
.summary-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.summary-icon .material-symbols-outlined {
    font-size: 20px;
}
.summary-icon.orange { background: rgba(249,115,22,0.1); color: var(--orange); }
.summary-icon.blue { background: rgba(37,99,235,0.1); color: var(--blue); }
.summary-icon.purple { background: rgba(147,51,234,0.1); color: var(--purple); }
.summary-icon.green { background: rgba(132,204,22,0.1); color: var(--green); }
.summary-icon.red { background: rgba(239,68,68,0.1); color: var(--red); }

.summary-content {
    flex: 1;
}
.summary-label {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.summary-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.summary-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange);
}

/* ============================================================
   LANDING PAGE
   ============================================================ */

.landing {
    position: relative;
    overflow: hidden;
}

/* Background Shapes */
.landing-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.bg-shape-1 {
    width: 500px; height: 500px;
    background: var(--orange);
    top: -150px; right: -100px;
    animation: float1 20s ease-in-out infinite;
}
.bg-shape-2 {
    width: 400px; height: 400px;
    background: var(--purple);
    bottom: -100px; left: -100px;
    animation: float2 25s ease-in-out infinite;
}
.bg-shape-3 {
    width: 300px; height: 300px;
    background: var(--blue);
    top: 40%; left: 50%;
    animation: float3 18s ease-in-out infinite;
}
.bg-shape-4 {
    width: 250px; height: 250px;
    background: var(--red);
    top: 20%; left: 10%;
    animation: float2 22s ease-in-out infinite reverse;
}
.bg-shape-5 {
    width: 200px; height: 200px;
    background: var(--green);
    bottom: 30%; right: 15%;
    animation: float1 15s ease-in-out infinite reverse;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(40px, -30px) rotate(10deg); }
}
@keyframes float3 {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    50% { transform: translate(-50%, -40px) scale(1.15); }
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo-img {
    height: 40px;
    width: auto;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
}
.hero-container {
    max-width: 720px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: var(--gradient-subtle);
    border: 1.5px solid rgba(249,115,22,0.15);
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 28px;
}
.hero-badge .material-symbols-outlined {
    font-size: 18px;
}
.hero-logo {
    width: 280px;
    margin: 0 auto 32px;
    filter: drop-shadow(0 4px 20px rgba(249,115,22,0.2));
    animation: heroLogoIn 0.8s var(--ease-out) forwards;
}
@keyframes heroLogoIn {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 28px 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.hero-stat {
    text-align: center;
}
.hero-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Info Section */
.info-section, .steps-section {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
}
.info-section {
    background: var(--bg-muted);
}
.info-container {
    max-width: 1000px;
    margin: 0 auto;
}
.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.section-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    background: var(--gradient-subtle);
}
.section-title-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--orange);
}
.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 16px;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 32px 28px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-smooth);
    opacity: 0;
    transform: translateY(30px);
}
.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.feature-card-1:hover { box-shadow: 0 12px 30px rgba(249,115,22,0.12); }
.feature-card-2:hover { box-shadow: 0 12px 30px rgba(147,51,234,0.12); }
.feature-card-3:hover { box-shadow: 0 12px 30px rgba(37,99,235,0.12); }
.feature-card-4:hover { box-shadow: 0 12px 30px rgba(132,204,22,0.12); }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.feature-card-1 .feature-icon { background: rgba(249,115,22,0.1); color: var(--orange); }
.feature-card-2 .feature-icon { background: rgba(147,51,234,0.1); color: var(--purple); }
.feature-card-3 .feature-icon { background: rgba(37,99,235,0.1); color: var(--blue); }
.feature-card-4 .feature-icon { background: rgba(132,204,22,0.1); color: var(--green); }

.feature-icon .material-symbols-outlined {
    font-size: 26px;
}
.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* How Steps */
.how-steps {
    max-width: 600px;
    margin: 0 auto;
}
.how-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    opacity: 0;
    transform: translateX(-20px);
}
.how-step.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s var(--ease-out);
}
.how-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(249,115,22,0.25);
}
.how-step-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
    margin-top: 2px;
}
.how-step-content p {
    font-size: 14px;
    color: var(--gray-500);
}
.how-step-line {
    width: 3px;
    height: 32px;
    background: var(--gray-200);
    margin-left: 23px;
    border-radius: var(--radius-full);
}

/* CTA Section */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    background: var(--bg-muted);
}
.cta-container {
    max-width: 700px;
    margin: 0 auto;
}
.cta-card {
    text-align: center;
    padding: 56px 40px;
    border-radius: 28px;
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
}
.cta-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s var(--ease-out);
}
.cta-title {
    font-size: 30px;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.cta-desc {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Footer */
.landing-footer {
    position: relative;
    z-index: 1;
    padding: 40px 24px;
    border-top: 1px solid var(--gray-100);
    background: var(--white);
}
.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-logo {
    height: 36px;
    width: auto;
}
.footer-brand p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.4;
}
.footer-copy {
    font-size: 13px;
    color: var(--gray-400);
}

/* ============================================================
   REGISTER PAGE
   ============================================================ */

.register {
    min-height: 100vh;
    background: var(--bg-muted);
    position: relative;
}

.register-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: var(--gradient-hero);
    opacity: 0.06;
    pointer-events: none;
}

.register-header {
    padding: 24px 24px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}
.register-header img {
    height: 48px;
    margin: 0 auto 8px;
}
.register-header-title {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.register-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 24px 60px;
    position: relative;
    z-index: 1;
}

.step-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--gray-100);
    padding: 36px;
    animation: stepIn 0.4s var(--ease-out) forwards;
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    margin-bottom: 28px;
    text-align: center;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
}
.step-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
}
.step-subtitle {
    font-size: 14px;
    color: var(--gray-400);
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    gap: 12px;
}
.step-actions-right {
    margin-left: auto;
}

/* ─── NPSN Search ─────────────────────────────────────────── */
.npsn-search {
    position: relative;
}
.npsn-search .btn-search {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    padding: 0 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.npsn-search .btn-search:hover {
    opacity: 0.9;
}
.npsn-search .btn-search .material-symbols-outlined {
    font-size: 18px;
}

.school-data-card {
    margin-top: 20px;
    padding: 24px;
    background: var(--gradient-card);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    animation: slideDown 0.4s var(--ease-out);
}
.school-data-card .school-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.school-status-badge.negeri {
    background: rgba(37,99,235,0.1);
    color: var(--blue);
}
.school-status-badge.swasta {
    background: rgba(147,51,234,0.1);
    color: var(--purple);
}

.school-data-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}
.school-data-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.school-data-row .material-symbols-outlined {
    font-size: 18px;
    color: var(--gray-400);
    margin-top: 2px;
    flex-shrink: 0;
}
.school-data-label {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.school-data-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

/* ─── Image Preview for Surat Tugas ───────────────────────── */
.surat-preview {
    margin-top: 16px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1.5px solid var(--gray-200);
    max-height: 300px;
}
.surat-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    background: var(--bg-muted);
}

/* ============================================================
   DASHBOARD PAGE
   ============================================================ */

.dashboard {
    min-height: 100vh;
    background: var(--bg-muted);
    padding-bottom: 60px;
}

.dashboard-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 24px;
}
.dashboard-header-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dashboard-logo {
    height: 36px;
}
.btn-logout {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    transition: all 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}
.btn-logout:hover {
    background: rgba(239,68,68,0.06);
    color: var(--red);
}

.dashboard-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* Welcome Card */
.welcome-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--gray-100);
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}
.welcome-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange);
    margin: 0 auto 16px;
}
.welcome-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--orange);
}
.welcome-greeting {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 4px;
}
.welcome-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
}
.welcome-school {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
}
.welcome-id {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--bg-muted);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    font-family: 'Courier New', monospace;
}

/* Status Cards */
.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.status-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1.5px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.status-card-label {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.status-card-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
}
.status-card-value .material-symbols-outlined {
    font-size: 22px;
}
.status-card-value.success {
    color: var(--green);
}
.status-card-value.info {
    color: var(--blue);
}
.status-card-value.orange {
    color: var(--orange);
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1.5px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.info-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.info-card-icon.bus { background: rgba(37,99,235,0.1); color: var(--blue); }
.info-card-icon.location { background: rgba(249,115,22,0.1); color: var(--orange); }
.info-card-icon.jabatan { background: rgba(147,51,234,0.1); color: var(--purple); }
.info-card-icon.phone { background: rgba(132,204,22,0.1); color: var(--green); }

.info-card-label {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.info-card-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
}

/* QR Section */
.qr-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--gray-100);
    text-align: center;
    margin-bottom: 24px;
}
.qr-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}
.qr-subtitle {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 24px;
}
.qr-container {
    display: inline-block;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 2px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

/* Download Section */
.download-section {
    text-align: center;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-in {
    transition: all 0.6s var(--ease-out) !important;
}

.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }

.how-step:nth-child(1) { transition-delay: 0s; }
.how-step:nth-child(3) { transition-delay: 0.15s; }
.how-step:nth-child(5) { transition-delay: 0.3s; }
.how-step:nth-child(7) { transition-delay: 0.45s; }

/* Pulse for CTA */
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(249,115,22,0.35); }
    50% { box-shadow: 0 4px 30px rgba(249,115,22,0.55), 0 0 60px rgba(249,115,22,0.15); }
}
.btn-hero {
    animation: pulse 3s ease-in-out infinite;
}
.btn-hero:hover {
    animation: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-logo {
        width: 200px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-stats {
        padding: 20px 24px;
        gap: 20px;
    }
    .hero-stat-number {
        font-size: 24px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 24px;
    }
    .step-card {
        padding: 24px;
    }
    .step-title {
        font-size: 20px;
    }
    .stepper {
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .stepper-label {
        font-size: 9px;
    }
    .stepper-circle {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    .stepper-circle .material-symbols-outlined {
        font-size: 16px;
    }
    .stepper-line, .stepper-line-fill {
        top: 18px;
    }
    .status-grid, .info-grid {
        grid-template-columns: 1fr;
    }
    .welcome-card, .qr-card {
        padding: 28px;
    }
    .modal-card {
        padding: 28px;
    }
    .otp-input {
        width: 42px;
        height: 48px;
        font-size: 18px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    .hero-logo {
        width: 160px;
    }
    .stepper-item {
        min-width: 56px;
    }
    .step-actions {
        flex-direction: column-reverse;
    }
    .step-actions .btn {
        width: 100%;
    }
}

/* ─── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-muted);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ─── App Shell Layout (Permanent Header & Footer) ─── */
.app-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-muted);
}

.app-header {
    flex-shrink: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
    z-index: 1000;
    position: relative;
}

/* Glowing/Animating underline for header */
.app-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--red), var(--purple), var(--blue), var(--orange));
    background-size: 300% 100%;
    animation: flowGradient 8s linear infinite;
}

@keyframes flowGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.app-main {
    flex-grow: 1;
    overflow-y: auto;
    background: var(--bg-muted);
    scroll-behavior: smooth;
    position: relative;
}

.app-footer {
    flex-shrink: 0;
    height: 56px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    color: var(--gray-500);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.01);
}

/* Classy styling for header contents */
.app-header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.app-header-logo {
    height: 38px;
    transition: transform 0.3s var(--ease-spring);
    cursor: pointer;
}
.app-header-logo:hover {
    transform: scale(1.04);
}

.app-header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
}

/* Modern status dot for footer */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-500);
    background: rgba(0, 0, 0, 0.03);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--green);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}
.status-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--green);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
    left: 0;
    top: 0;
}
@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .app-header-container, .app-footer-container {
        padding: 0 16px;
    }
    .app-footer-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        justify-content: center;
        font-size: 12px;
    }
    .app-footer {
        height: auto;
        padding: 12px 0;
    }
}

/* ─── Admin Table Styles ─── */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    background: rgba(0, 0, 0, 0.02);
    font-weight: 700;
    color: var(--gray-600);
    border-bottom: 1.5px solid var(--gray-200);
}
.admin-table-row:hover {
    background: rgba(249, 115, 22, 0.015) !important;
}
.admin-table td, .admin-table th {
    padding: 16px 20px;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
}

/* ─── Bento Grid Dashboard ─── */
.dashboard-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.015);
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 255, 255, 0.8);
}

.bento-card-wide {
    grid-column: span 2;
}

.bento-card-full {
    grid-column: span 3;
}

/* Bento Card Welcome Hero Mesh Gradient background */
.bento-welcome-hero {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.04), rgba(239, 68, 68, 0.02), rgba(147, 51, 234, 0.02));
    border: 1.5px solid rgba(249, 115, 22, 0.12) !important;
}

/* Apple Wallet Ticket Layout */
.bento-ticket {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Quick Action button hover scale */
.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    text-decoration: none;
    justify-content: center;
    border: none;
}
.quick-action-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.quick-action-btn.whatsapp {
    background: rgba(132, 204, 22, 0.1);
    color: var(--green);
    border: 1.5px solid rgba(132, 204, 22, 0.2);
}
.quick-action-btn.whatsapp:hover {
    background: var(--green);
    color: white !important;
    box-shadow: 0 10px 20px rgba(132, 204, 22, 0.2);
}

.quick-action-btn.maps {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
    border: 1.5px solid rgba(37, 99, 235, 0.2);
}
.quick-action-btn.maps:hover {
    background: var(--blue);
    color: white !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* Timeline Components */
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 20px;
    margin-top: 10px;
}
.timeline-list::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--gray-200);
}
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.timeline-dot {
    position: absolute;
    left: -20px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 2px solid var(--white);
    transition: all 0.3s;
}
.timeline-item.active .timeline-dot {
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
}
.timeline-item.completed .timeline-dot {
    background: var(--green);
}
.timeline-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-400);
    min-width: 120px;
}
.timeline-item.active .timeline-time {
    color: var(--orange);
}
.timeline-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    flex: 1;
    min-width: 200px;
}
.timeline-item.active .timeline-title {
    color: var(--gray-900);
    font-weight: 700;
}

@media (max-width: 992px) {
    .dashboard-bento {
        grid-template-columns: 1fr;
    }
    .bento-card-wide, .bento-card-full {
        grid-column: span 1;
    }
}

/* ─── Header Event Badge ─── */
.header-event-badge {
    background: rgba(249, 115, 22, 0.08);
    color: var(--orange);
    border: 1px solid rgba(249, 115, 22, 0.15);
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.header-event-badge:hover {
    background: rgba(249, 115, 22, 0.12);
}
@media (max-width: 576px) {
    .header-event-badge {
        display: none !important;
    }
}

/* ─── Vertical Sidebar Stepper Layout ─── */
.register-layout {
    display: flex;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: flex-start;
    width: 100%;
}

.register-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.015);
    position: sticky;
    top: 100px; /* Jarak dari header atas */
    z-index: 50;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--gray-200);
}

.vertical-stepper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}
.vertical-stepper::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: var(--gray-200);
    z-index: 1;
}

.vertical-step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px 8px 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    flex-shrink: 0;
    transition: all 0.3s var(--ease-spring);
}

.step-text-wrapper {
    display: flex;
    flex-direction: column;
}

.step-number-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.step-title-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    transition: color 0.3s;
}

/* Status Active */
.vertical-step-item.active .step-icon-wrapper {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}
.vertical-step-item.active .step-title-label {
    color: var(--gray-800);
    font-weight: 700;
}
.vertical-step-item.active .step-number-label {
    color: var(--orange);
}

/* Status Completed */
.vertical-step-item.completed .step-icon-wrapper {
    border-color: var(--green);
    background: rgba(132, 204, 22, 0.08);
    color: var(--green);
}
.vertical-step-item.completed .step-title-label {
    color: var(--gray-600);
}
.vertical-step-item.completed .step-number-label {
    color: var(--green);
}

/* Step Card Container */
.step-card-container {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.step-card-container .step-card {
    max-width: 680px;
    width: 100%;
    margin: 0;
}

/* Media Query Responsive untuk Mobile & Tablet */
@media (max-width: 850px) {
    .register-layout {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }
    .register-sidebar {
        width: 100%;
        position: static;
        padding: 16px;
        border-radius: 16px;
    }
    .sidebar-title {
        margin-bottom: 12px;
        padding-bottom: 6px;
        font-size: 12px;
    }
    .vertical-stepper {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        gap: 16px;
        -webkit-overflow-scrolling: touch;
    }
    .vertical-stepper::before {
        display: none;
    }
    .vertical-step-item {
        padding: 4px 12px;
        flex-shrink: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.4);
        border: 1px solid rgba(0,0,0,0.05);
    }
    .vertical-step-item.active {
        background: rgba(249, 115, 22, 0.05);
        border-color: rgba(249, 115, 22, 0.15);
    }
    .vertical-step-item.completed {
        background: rgba(132, 204, 22, 0.04);
        border-color: rgba(132, 204, 22, 0.1);
    }
}

/* ─── Premium Registration Redesign ─── */
.register-sidebar {
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01) !important;
}

.step-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 24px !important;
    padding: 36px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.015) !important;
}

.vertical-stepper {
    gap: 16px !important;
}

.vertical-stepper::before {
    left: 18px !important;
    background: var(--gray-200) !important;
    width: 2px !important;
}

.vertical-step-item {
    gap: 12px !important;
}

.step-icon-wrapper {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1.5px solid var(--gray-300) !important;
    font-size: 13px !important;
}

.step-title-label {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--gray-500) !important;
}

/* Active vertical stepper */
.vertical-step-item.active .step-icon-wrapper {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--orange), var(--red)) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25) !important;
    color: var(--white) !important;
}

.vertical-step-item.active .step-title-label {
    color: var(--gray-800) !important;
}

/* Completed vertical stepper */
.vertical-step-item.completed .step-icon-wrapper {
    border-color: var(--green) !important;
    background: rgba(132, 204, 22, 0.1) !important;
    color: var(--green) !important;
}

.vertical-step-item.completed .step-title-label {
    color: var(--gray-600) !important;
}

/* Redesigning step headers */
.step-header {
    border-bottom: 1.5px solid var(--gray-100);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.step-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--gray-800) !important;
    letter-spacing: -0.01em;
}

.step-subtitle {
    font-size: 13px !important;
    color: var(--gray-400) !important;
    margin-top: 4px !important;
}

/* ─── Portal Dashboard Styles & Sidebar Consistency ─── */
body.portal-mode {
    overflow: hidden !important;
}

body.portal-mode .app-footer {
    display: none !important;
}

body.portal-mode .app-main {
    height: calc(100vh - 72px) !important;
    max-height: calc(100vh - 72px) !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dashboard-portal, .admin-layout {
    display: flex;
    height: 100% !important;
    max-height: 100% !important;
    width: 100%;
    overflow: hidden;
}

.portal-sidebar, .admin-sidebar, .admin-portal-sidebar {
    width: 280px;
    height: 100% !important;
    max-height: 100% !important;
    background: #0f172a; /* Slate Gelap Modern */
    color: var(--white);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.05);
    position: relative;
    top: 0;
    z-index: 10;
}

.portal-brand {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-logo-img {
    height: 36px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.brand-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

.portal-nav {
    flex: 1;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}
.portal-nav::-webkit-scrollbar {
    width: 6px;
}
.portal-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}
.portal-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.portal-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.portal-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.portal-nav-item:hover {
    color: var(--white);
    background: rgba(255,255,255,0.04);
}

.portal-nav-item.active {
    color: var(--white);
    background: var(--orange); /* Warna Tema utama */
    box-shadow: 0 4px 15px rgba(249,115,22,0.25);
}

.portal-sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.15);
}

.footer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-user-info {
    overflow: hidden;
}

.footer-username {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.footer-email {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Main Area */
.portal-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.portal-header {
    height: 64px;
    background: var(--white);
    border-bottom: 1.5px solid var(--gray-200);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.portal-header-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--gray-500);
    letter-spacing: 0.08em;
}

.portal-body {
    flex: 1;
    padding: 32px 24px;
    overflow-y: auto;
}

/* Grid & Cards */
.portal-grid {
    display: flex;
    gap: 24px;
    width: 100%;
    flex-wrap: wrap;
}

.portal-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
    display: flex;
    flex-direction: column;
}

.portal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.portal-card-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--gray-400);
    letter-spacing: 0.05em;
}

.portal-card-value {
    font-size: 48px;
    font-weight: 900;
    color: var(--gray-800);
    margin: 16px 0 8px;
    line-height: 1;
}

.portal-card-desc.success {
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.portal-badge.success {
    background: rgba(132, 204, 22, 0.1);
    color: var(--green);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
}

/* Sub Blocks */
.portal-sub-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.portal-sub-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--bg-muted);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.portal-sub-block:hover {
    border-color: var(--orange);
    background: rgba(249,115,22,0.02);
}

.block-icon {
    font-size: 20px;
    color: var(--gray-400);
}

.block-text {
    display: flex;
    flex-direction: column;
}

.block-title {
    font-size: 9px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
}

.block-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
}

/* Checklist */
.portal-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.4;
}

.portal-checklist-item strong {
    color: var(--gray-800);
}

.check-icon {
    color: var(--green);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── Ultra Fast Mobile App & Responsive Touch Optimization ─── */
* {
    -webkit-tap-highlight-color: transparent;
}

button, a, input, select, textarea, .portal-nav-item, .neubrutal-btn, .btn {
    touch-action: manipulation;
}

button:active, .neubrutal-btn:active, .btn:active, .portal-nav-item:active {
    transform: scale(0.96) !important;
    opacity: 0.85 !important;
    transition: transform 0.05s ease, opacity 0.05s ease !important;
}

/* Hardware accelerated transitions */
.portal-body, .portal-sidebar, .admin-portal-sidebar, .mobile-bottom-nav {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Mobile Drawer Overlay Backdrop */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1045;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Hamburger Toggle Button */
.mobile-sidebar-toggle {
    display: none;
    background: rgba(249, 115, 22, 0.08);
    border: 1.5px solid rgba(249, 115, 22, 0.2);
    color: var(--orange);
    padding: 6px 10px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.mobile-sidebar-toggle:active {
    background: rgba(249, 115, 22, 0.2);
}

/* Mobile Floating Bottom Navigation Bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    height: 64px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    z-index: 1030;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.15s ease-out;
    cursor: pointer;
}

.mobile-bottom-nav-item .material-symbols-outlined {
    font-size: 22px;
    transition: transform 0.2s var(--ease-spring);
}

.mobile-bottom-nav-item.active {
    color: #ffffff;
    background: var(--orange);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.mobile-bottom-nav-item.active .material-symbols-outlined {
    transform: scale(1.15);
}

/* Media Query Adjustments for Mobile (< 768px) */
@media (max-width: 768px) {
    .mobile-sidebar-toggle {
        display: flex !important;
    }

    body.portal-mode .mobile-bottom-nav:not(:empty) {
        display: flex !important;
    }

    body.portal-mode .portal-sidebar,
    body.portal-mode .admin-portal-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 280px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        z-index: 1050 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.4) !important;
    }

    body.portal-mode .portal-sidebar.mobile-open,
    body.portal-mode .admin-portal-sidebar.mobile-open {
        transform: translateX(0) !important;
    }

    body.portal-mode .app-main {
        height: calc(100vh - 72px) !important;
        padding-bottom: 84px !important;
        overflow-y: auto !important;
    }

    .portal-body {
        padding: 16px 16px 90px !important;
    }

    .portal-grid, .status-grid, .info-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ─── iPhone 15 Pro Live Simulator Modal Styles ─── */
.iphone-mockup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
}

.iphone-frame {
    width: 375px;
    height: 650px;
    background: #0f172a;
    border-radius: 44px;
    border: 10px solid #1e293b;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.iphone-dynamic-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background: #000000;
    border-radius: 20px;
    z-index: 9999;
}

.iphone-screen-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 34px;
    background: #f8fafc;
}

/* Rundown Timeline in Portal */
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 20px;
}
.timeline-list::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--gray-200);
}
.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.timeline-dot {
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--gray-200);
}
.timeline-item.active .timeline-dot {
    background: var(--orange);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}
.timeline-item.completed .timeline-dot {
    background: var(--green);
    box-shadow: 0 0 0 2px rgba(132, 204, 22, 0.2);
}
.timeline-time {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
}
.timeline-item.active .timeline-time {
    color: var(--orange);
}
.timeline-item.completed .timeline-time {
    color: var(--green);
}
.timeline-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}
.timeline-item.active .timeline-title {
    color: var(--gray-900);
    font-weight: 700;
}

/* Quick Action Buttons in Portal */
.quick-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--white);
    transition: all 0.3s;
}
.quick-action-btn.whatsapp {
    background: linear-gradient(135deg, #22C55E, #15803D);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}
.quick-action-btn.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}
.quick-action-btn.maps {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}
.quick-action-btn.maps:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}
/* Mobile Layout Scroll Overrides */
@media (max-width: 768px) {
    #app-main {
        height: auto !important;
        overflow: auto !important;
    }
    .dashboard-portal {
        min-height: auto !important;
    }
    .portal-sidebar {
        height: auto !important;
    }
}

/* ─── Admin Portal Custom Styling (Synced with Participant Style) ─── */
.admin-portal-sidebar {
    width: 280px;
    background: #0f172a !important; /* Slate Gelap Modern */
    color: var(--white);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
}
.admin-portal-sidebar .portal-brand {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-portal-sidebar .portal-nav-item.active {
    background: var(--orange) !important; /* Orange Primary */
    box-shadow: 0 4px 15px rgba(249,115,22,0.25) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
}
.admin-portal-sidebar .portal-nav-item {
    margin: 4px 12px;
    border: none !important;
    border-radius: 12px !important;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.2s ease;
}
.admin-portal-sidebar .portal-nav-item:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff;
}
.admin-portal-sidebar .portal-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    background: rgba(0, 0, 0, 0.15) !important;
}

/* Redefined Neubrutalism Components to Premium Participant Aesthtics */
.neubrutal-card {
    background: #ffffff;
    border: 1.5px solid var(--gray-200) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01) !important;
    padding: 24px;
    transition: all 0.15s ease;
    margin-bottom: 24px;
}
.neubrutal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.neubrutal-card-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.neubrutal-card-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-800);
    margin: 8px 0;
}
.neubrutal-card-desc {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.neubrutal-btn {
    border: 1.5px solid var(--gray-200) !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.neubrutal-btn:active {
    transform: translateY(1px) !important;
    box-shadow: none !important;
}
.neubrutal-btn:disabled {
    opacity: 0.5 !important;
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}
.neubrutal-btn.primary {
    background: var(--gradient-primary) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(249,115,22,0.2) !important;
}
.neubrutal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249,115,22,0.3) !important;
}
.neubrutal-btn.success {
    background: linear-gradient(135deg, var(--green), #22C55E) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(34,197,94,0.2) !important;
}
.neubrutal-btn.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34,197,94,0.3) !important;
}
.neubrutal-btn.info {
    background: linear-gradient(135deg, var(--blue), #3B82F6) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2) !important;
}
.neubrutal-btn.info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37,99,235,0.3) !important;
}
.neubrutal-btn.secondary {
    background: var(--white) !important;
    color: var(--gray-700) !important;
    border: 1.5px solid var(--gray-200) !important;
}
.neubrutal-btn.secondary:hover {
    border-color: var(--orange) !important;
    color: var(--orange) !important;
    background: rgba(249,115,22,0.04) !important;
}
.neubrutal-btn.danger {
    background: linear-gradient(135deg, var(--red), #EF4444) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(239,68,68,0.2) !important;
}
.neubrutal-btn.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239,68,68,0.3) !important;
}
.neubrutal-btn.xs {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 6px !important;
    box-shadow: none !important;
}
.neubrutal-btn.xs:hover {
    transform: translateY(-1px);
}
.neubrutal-btn.xs:active {
    transform: translateY(0);
    box-shadow: none !important;
}

.neubrutal-input, .neubrutal-select {
    border: 1.5px solid var(--gray-200) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-weight: 600;
    padding: 10px 14px;
    background: #ffffff;
    color: var(--gray-800);
    outline: none;
    font-size: 13px;
    transition: all 0.3s var(--ease-smooth);
}
.neubrutal-input:focus, .neubrutal-select:focus {
    border-color: var(--orange) !important;
    box-shadow: 0 0 0 4px rgba(249,115,22,0.1) !important;
    background: #ffffff;
}

.neubrutal-badge {
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 4px 12px !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}
.neubrutal-badge.success {
    background: rgba(132, 204, 22, 0.1) !important;
    color: var(--green) !important;
}
.neubrutal-badge.warning {
    background: rgba(249, 115, 22, 0.1) !important;
    color: var(--orange) !important;
}
.neubrutal-badge.danger {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--red) !important;
}
.neubrutal-badge.neutral {
    background: var(--bg-muted) !important;
    color: var(--gray-500) !important;
}
.neubrutal-badge.info {
    background: rgba(37, 99, 235, 0.1) !important;
    color: var(--blue) !important;
}

.neubrutal-table-container {
    background: #ffffff;
    border: 1.5px solid var(--gray-200) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01) !important;
    overflow: hidden;
    margin-bottom: 24px;
}
.neubrutal-table {
    width: 100%;
    border-collapse: collapse;
}
.neubrutal-table th {
    background: #f8fafc;
    border-bottom: 1.5px solid var(--gray-100) !important;
    padding: 12px 16px;
    font-weight: 800;
    color: var(--gray-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
}
.neubrutal-table td {
    border-bottom: 1px solid var(--gray-100) !important;
    padding: 12px 16px;
    color: var(--gray-700);
    font-weight: 600;
    vertical-align: middle;
}
.neubrutal-table tr:last-child td {
    border-bottom: none;
}
.neubrutal-table tr:hover {
    background: var(--bg-muted);
}

.neubrutal-row-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200) !important;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    overflow: hidden;
    box-shadow: none !important;
}
.neubrutal-row-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Smaller Header & Footer Sizing ─── */
.app-header {
    height: 54px !important;
}
.app-header-container {
    height: 100% !important;
}
.app-footer {
    height: 40px !important;
}

/* ─── Full Height Fixed Sidebar Layout on Desktop ─── */
@media (min-width: 769px) {
    /* Portal Mode: Add 280px left padding to header, footer, and main content area */
    body.portal-mode .app-header {
        padding-left: 280px !important;
    }
    body.portal-mode .app-header-container {
        max-width: 100% !important;
        margin: 0 !important;
    }
    body.portal-mode .app-footer {
        padding-left: 280px !important;
    }
    body.portal-mode .app-footer-container {
        max-width: 100% !important;
        margin: 0 !important;
    }
    body.portal-mode #app-main {
        padding-left: 280px !important;
    }

    /* Fix sidebars to stretch from top to bottom (0 to 100vh) */
    .portal-sidebar,
    .admin-portal-sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        z-index: 1100 !important; /* Position above header/footer */
        box-shadow: 4px 0 20px rgba(0,0,0,0.05) !important;
    }
}

/* ─── Mobile Overrides for Sidebar ─── */
@media (max-width: 768px) {
    /* Reset portal-mode paddings on mobile */
    body.portal-mode .app-header {
        padding-left: 0 !important;
    }
    body.portal-mode .app-footer {
        padding-left: 0 !important;
    }
    body.portal-mode #app-main {
        padding-left: 0 !important;
        padding-bottom: 70px !important;
    }
    .portal-main {
        padding-bottom: 70px !important;
    }

    /* Candidate sidebar mobile rules */
    .portal-sidebar,
    .admin-portal-sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: -320px !important;
        width: 280px !important;
        height: 100vh !important;
        z-index: 10000 !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 6px 0 24px rgba(0,0,0,0.25) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
    }
    .portal-sidebar.mobile-open,
    .admin-portal-sidebar.mobile-open {
        left: 0 !important;
    }
    .portal-sidebar .portal-brand,
    .admin-portal-sidebar .portal-brand {
        padding: 16px 20px !important;
    }
    .portal-sidebar .portal-nav,
    .admin-portal-sidebar .portal-nav {
        flex-direction: column !important;
        overflow-y: auto !important;
        padding: 16px !important;
        gap: 6px !important;
        flex: 1 !important;
    }
    .portal-sidebar .portal-nav-item,
    .admin-portal-sidebar .portal-nav-item {
        padding: 10px 14px !important;
        font-size: 13px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
        margin: 0 !important;
    }
    .portal-sidebar .portal-sidebar-footer,
    .admin-portal-sidebar .portal-sidebar-footer {
        display: flex !important;
        padding: 14px 16px !important;
    }
    .admin-portal-sidebar .sidebar-category-label {
        display: block !important;
    }
}

/* ─── Landing Status Card Animations ─────────────────────── */
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes cardSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-status-card {
    animation: cardSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.landing-status-card button.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.95) !important;
    border-color: rgba(249,115,22,0.3) !important;
    box-shadow: 0 4px 16px rgba(249,115,22,0.1) !important;
    transform: translateY(-1px);
}

/* ─── Custom Switch Toggle (Neubrutalist style) ─── */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch span {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 28px;
  border: 2px solid #0f172a;
}
.switch span:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #0f172a;
  transition: .3s;
  border-radius: 50%;
}
.switch input:checked + span {
  background-color: #8b5cf6 !important;
}
.switch input:checked + span:before {
  transform: translateX(24px);
  background-color: #ffffff;
}

/* ============================================================
   ADMIN LOGIN PAGE — Premium Split-Screen Design
   ============================================================ */
.admin-login-page {
    display: flex;
    min-height: calc(100vh - 72px);
    width: 100%;
    overflow: hidden;
}

/* Left Visual Panel */
.admin-login-visual {
    flex: 0 0 420px;
    background: linear-gradient(160deg, #1e1b4b 0%, #4c1d95 30%, #7c3aed 60%, #a855f7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.admin-login-visual::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -40%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.admin-login-visual::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.admin-login-visual-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.admin-login-visual-footer {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    z-index: 2;
}

/* Right Form Panel */
.admin-login-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 40px;
    position: relative;
}

.admin-login-form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #f97316);
}

.admin-login-form-wrapper {
    width: 100%;
    max-width: 380px;
    background: white;
    padding: 40px 36px;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

/* Admin Login Inputs */
.admin-login-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 6px;
}

.admin-login-input-wrap:focus-within {
    border-color: #7c3aed;
    background: white;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

.admin-login-input-icon {
    font-size: 20px !important;
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.25s;
}

.admin-login-input-wrap:focus-within .admin-login-input-icon {
    color: #7c3aed;
}

.admin-login-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    outline: none;
    font-family: var(--font);
}

.admin-login-input::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

/* Admin Login Button */
.admin-login-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(124,58,237,0.35);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--font);
}

.admin-login-btn:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    box-shadow: 0 6px 20px rgba(124,58,237,0.45);
    transform: translateY(-1px);
}

.admin-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(124,58,237,0.3);
}

/* Responsive: Stack on smaller screens */
@media (max-width: 900px) {
    .admin-login-page {
        flex-direction: column;
    }
    .admin-login-visual {
        flex: none;
        min-height: 200px;
        padding: 32px 20px;
    }
    .admin-login-visual h1 {
        font-size: 24px !important;
    }
    .admin-login-visual p {
        font-size: 12px !important;
    }
    .admin-login-visual-footer {
        display: none;
    }
    .admin-login-form-panel {
        padding: 24px 16px;
    }
    .admin-login-form-wrapper {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .admin-login-visual {
        min-height: 160px;
        padding: 24px 16px;
    }
    .admin-login-visual-content img {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 12px !important;
    }
    .admin-login-visual h1 {
        font-size: 20px !important;
    }
    .admin-login-form-wrapper {
        padding: 24px 20px;
        border-radius: 16px;
    }
}

/* ============================================================
   MOBILE OPTIMIZATION & SMOOTH MOTION DESIGN (ULTRA-POLISHED)
   ============================================================ */

/* ─── Touch Feedback & Smooth Active States ─── */
button, a, .neubrutal-btn, .portal-nav-item, .portal-sub-block {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.neubrutal-btn:active, .btn:active {
    transform: scale(0.97) !important;
}

/* ─── Mobile Layout Overrides (< 640px) ─── */
@media (max-width: 640px) {
    .hero {
        padding: 24px 16px !important;
    }
    .hero-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }
    .hero-subtitle {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }
    .hero-logo {
        max-height: 80px !important;
        margin-bottom: 14px !important;
    }
    .hero-stats {
        padding: 14px 16px !important;
        gap: 12px !important;
    }
    .hero-stat-number {
        font-size: 20px !important;
    }
    .hero-stat-label {
        font-size: 11px !important;
    }

    /* Event Details Card on Mobile */
    .hero-container > div[style*="max-width: 680px"] {
        padding: 16px !important;
        margin-top: 24px !important;
        border-radius: 16px !important;
    }

    /* Dashboard Cards & Layout */
    .portal-body {
        padding: 16px 14px !important;
    }
    .portal-card {
        padding: 16px !important;
        border-radius: 14px !important;
    }
    .portal-grid {
        gap: 14px !important;
    }

    /* Modals on Mobile */
    #schedule-popup-modal > div,
    .modal-overlay > div {
        max-width: 92vw !important;
        padding: 20px 16px !important;
        border-radius: 20px !important;
    }

    /* Tables on Mobile */
    .table-container,
    .neubrutal-table-wrap {
        border-radius: 12px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* ─── Ultra Smooth Micro Animations ─── */
@keyframes smoothFadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-container,
.portal-card,
.neubrutal-card {
    animation: smoothFadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

