*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:       #ed1c24;
    --primary-dark:  #c4161e;
    --primary-light: #fde8ea;
    --primary-soft:  #fef2f2;
    --accent:        #ed1c24;
    --accent-light:  #fce7e9;
    --success:       #16a34a;
    --success-bg:    #f0fdf4;
    --danger:        #dc2626;
    --danger-bg:     #fef2f2;
    --warning:       #d97706;
    --warning-bg:    #fffbeb;
    --gray-50:       #fafafa;
    --gray-100:      #f4f4f5;
    --gray-200:      #e4e4e7;
    --gray-300:      #d4d4d8;
    --gray-400:      #a1a1aa;
    --gray-500:      #71717a;
    --gray-600:      #52525b;
    --gray-700:      #3f3f46;
    --gray-800:      #27272a;
    --gray-900:      #18181b;
    --white:         #ffffff;
    --radius-sm:     4px;
    --radius:        8px;
    --radius-lg:     12px;
    --radius-xl:     16px;
    --shadow-sm:     0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow:        0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md:     0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg:     0 12px 24px rgba(15, 23, 42, 0.1);
    --shadow-xl:     0 20px 40px rgba(15, 23, 42, 0.12);
    --font:          'Inter', system-ui, -apple-system, sans-serif;
    --transition:    150ms ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 15px;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--primary-soft) 0%, var(--gray-50) 28%, var(--gray-50) 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(237, 28, 36, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 90% 60% at 100% 50%, rgba(237, 28, 36, 0.08) 0%, transparent 45%),
        linear-gradient(165deg, #fafafa 0%, #fef2f2 40%, #fde8ea 100%);
    padding: 24px 16px; }

.auth-wrapper { width: 100%; max-width: 440px; min-width: 0; }

.auth-header { text-align: center; margin-bottom: 32px; color: var(--gray-800); }

.brand-logo {
    display: block; height: auto; max-width: 100%;
    object-fit: contain; background: transparent;
}
.brand-logo--auth { max-width: 280px; margin: 0 auto 20px; }
.brand-logo--header {
    height: 36px; width: auto; max-width: 120px;
}
.brand-logo--ticket {
    height: 44px; width: auto; max-width: 140px; flex-shrink: 0;
}
.brand-logo--error { max-width: 240px; margin: 0 auto 24px; }

.auth-logo { display: flex; justify-content: center; margin-bottom: 16px; }

.logo-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(237, 28, 36, 0.35);
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-dark);
}

.auth-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); letter-spacing: -0.02em; }
.auth-subtitle { font-size: 14px; color: var(--gray-600); }

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.card-inner { padding: 36px; min-width: 0; }
.card-title { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.card-desc  { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }

.auth-card form .form-group { margin-bottom: 0; }
.auth-card form > .btn-primary { margin-top: 20px; }

.auth-footer { text-align: center; margin-top: 24px; color: var(--gray-500); font-size: 12px; }
.auth-footer-sub { margin-top: 4px; color: var(--gray-400); }

.app-page { min-height: 100vh; display: flex; flex-direction: column; }

.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 100;
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}

.header-brand {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--gray-900);
}

.header-logo-circle {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    border: 1px solid rgba(237, 28, 36, 0.22);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 11px; letter-spacing: 0.02em;
    color: var(--primary-dark);
}

.header-brand-text { font-size: 15px; font-weight: 600; }

.header-user { display: flex; align-items: center; gap: 16px; }
.header-user-name { color: var(--gray-700); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.header-logout-form { margin: 0; display: inline; }

.main-content { flex: 1; padding: 32px 0 64px; }

.page-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 28px;
}

.page-header-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.page-title { font-size: 22px; font-weight: 700; color: var(--gray-900); }
.page-subtitle { font-size: 14px; color: var(--gray-500); margin-top: 2px; }
.page-subtitle--muted { font-size: 13px; margin-top: 8px; }
.page-subtitle--muted a { color: var(--primary-dark); font-weight: 600; }
.ticket-map-link { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.ticket-map-link:hover { text-decoration: underline; }
.ticket-footer--minimal { justify-content: center; }

.alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 14px 16px; border-radius: var(--radius);
    margin-bottom: 20px; font-size: 14px; position: relative;
    max-width: 100%; min-width: 0;
}

.alert-danger  { background: var(--danger-bg);  color: #991b1b; border: 1px solid #fca5a5; }
.alert-success { background: var(--success-bg); color: #15803d; border: 1px solid #86efac; }
.alert-warning { background: var(--warning-bg); color: #92400e; border: 1px solid #fcd34d; }

.alert-icon { flex-shrink: 0; margin-top: 2px; }

.alert-text {
    flex: 1 1 0;
    min-width: 0;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.alert-with-list {
    flex-direction: column;
    align-items: stretch;
}
.alert-with-list .alert-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.alert-with-list .alert-heading {
    display: block;
    line-height: 1.45;
}
.alert-list {
    list-style: disc;
    padding-left: 1.35em;
    margin: 0;
    width: 100%;
}
.alert-list li {
    display: list-item;
    margin-bottom: 4px;
    line-height: 1.5;
}
.alert-list li:last-child { margin-bottom: 0; }

.form-hint--below-grid {
    margin-top: 12px;
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}
.form-hint.form-hint--critical {
    color: var(--primary) !important;
    font-weight: 600;
}

.alert-close {
    position: absolute; right: 12px; top: 12px;
    background: none; border: none; cursor: pointer;
    font-size: 18px; color: inherit; opacity: .6; line-height: 1;
}
.alert-close:hover { opacity: 1; }

.alert-dismissible { padding-right: 36px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.identity-login-form .form-group + .form-group { margin-top: 4px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.required-star { color: var(--danger); margin-left: 2px; }

.input-wrapper { position: relative; }
.identity-login-form .form-group { min-width: 0; }
.input-wrapper-date { min-width: 0; width: 100%; overflow: hidden; }
.input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); pointer-events: none; }

.form-input {
    width: 100%; padding: 10px 12px; border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 16px; color: var(--gray-800);
    background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
    font-family: var(--font);
}

.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.22); }
.form-input.input-error { border-color: var(--danger); }
.input-wrapper .form-input { padding-left: 40px; }
.input-wrapper-date .form-input {
    padding-left: 40px;
    min-width: 0;
    min-inline-size: 0;
    width: 100%;
    max-width: 100%;
    max-inline-size: 100%;
    box-sizing: border-box;
    min-height: 44px;
}

.form-input-readonly { background: var(--gray-50); color: var(--gray-500); cursor: not-allowed; }
.input-readonly-wrapper { position: relative; }

.readonly-badge {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; gap: 4px;
    font-size: 11px; color: var(--gray-400); background: var(--gray-100);
    padding: 2px 8px; border-radius: 20px;
}

.form-hint { font-size: 12px; color: var(--gray-500); }

.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); margin-bottom: 20px; overflow: hidden; }

.form-card-header {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 24px; border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.step-badge {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.form-card-title { font-size: 16px; font-weight: 700; color: var(--gray-800); }
.form-card-body  { padding: 24px; }
.form-card-desc  { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; }

.table-responsive { overflow-x: auto; }

.bolum-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bolum-table th {
    padding: 10px 14px; text-align: left; font-size: 12px;
    font-weight: 600; color: var(--gray-500); text-transform: uppercase;
    letter-spacing: .05em; background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.bolum-table td { padding: 12px 14px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.bolum-table tr:last-child td { border-bottom: none; }
.bolum-table tr.selected td { background: var(--primary-light); }
.bolum-table tr.bolum-row:hover td { background: var(--gray-50); cursor: pointer; }
.bolum-table tr.bolum-row.selected:hover td { background: var(--primary-light); }
.col-select { width: 60px; text-align: center; white-space: nowrap; }

.bolum-select-hint { margin: -8px 0 16px; }

.bolum-picker { position: relative; }

.bolum-picker-mobile { display: none; }

.bolum-card.selected .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}
.bolum-card.selected .checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid var(--white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
    display: block;
}

.bolum-select-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}
.checkbox-label--bolum-select { gap: 12px; }

@media (max-width: 768px) {
    .bolum-picker-desktop { display: none; }

    .bolum-picker-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .bolum-card {
        border: 1.5px solid var(--gray-200);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
    }

    .bolum-card.selected {
        border-color: var(--primary);
        background: var(--primary-light);
    }

    .bolum-card-select {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        margin: 0;
        border-bottom: 1px solid var(--gray-200);
        background: rgba(255, 255, 255, 0.65);
        cursor: pointer;
    }

    .bolum-card.selected .bolum-card-select {
        background: rgba(255, 255, 255, 0.9);
    }

    .bolum-card-select .checkbox-custom {
        width: 26px;
        height: 26px;
        margin-top: 0;
    }

    .bolum-card-meta {
        list-style: none;
        margin: 0;
        padding: 12px 16px 14px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .bolum-card-meta li {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .bolum-card-meta-label {
        font-size: 11px;
        font-weight: 600;
        color: var(--gray-500);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .bolum-card-meta-value {
        font-size: 14px;
        color: var(--gray-800);
        line-height: 1.4;
    }

    .bolum-card { cursor: pointer; }
}

.radio-label { display: flex; align-items: center; justify-content: center; cursor: pointer; }
.radio-label input[type="radio"] { display: none; }
.radio-custom {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid var(--gray-300); background: var(--white);
    transition: all var(--transition); flex-shrink: 0;
}
.radio-label input:checked + .radio-custom {
    border-color: var(--primary); background: var(--primary);
    box-shadow: inset 0 0 0 4px var(--white);
}

.consent-section { display: flex; flex-direction: column; gap: 16px; }
.consent-item { padding: 14px 16px; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-200); }
.consent-required { border-color: #fca5a5; background: #fff5f5; }

.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox-input { display: none; }
.checkbox-custom {
    width: 18px; height: 18px; border: 2px solid var(--gray-300);
    border-radius: 4px; background: var(--white); flex-shrink: 0;
    margin-top: 2px; transition: all var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.checkbox-input:checked + .checkbox-custom {
    background: var(--primary); border-color: var(--primary);
}
.checkbox-input:checked + .checkbox-custom::after {
    content: ''; width: 5px; height: 9px;
    border: 2px solid var(--white); border-top: none; border-left: none;
    transform: rotate(45deg) translateY(-1px); display: block;
}
.checkbox-text { font-size: 14px; color: var(--gray-700); line-height: 1.5; }

.consent-group { padding: 14px 16px; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-200); }
.consent-group-title { font-size: 14px; color: var(--gray-700); margin-bottom: 12px; line-height: 1.5; }
.consent-channels { display: flex; gap: 24px; flex-wrap: wrap; }
.checkbox-inline { flex-direction: row; align-items: center; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 10px 20px;
    border: 1.5px solid transparent; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all var(--transition);
    font-family: var(--font); white-space: nowrap;
}

.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); border-color: transparent; box-shadow: 0 2px 8px rgba(237, 28, 36, 0.35); }
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 4px 14px rgba(237, 28, 36, 0.4); }
.btn.is-disabled { opacity: .72; cursor: not-allowed; filter: none; box-shadow: none; }

.btn-outline { background: var(--white); color: var(--primary-dark); border-color: var(--gray-300); }
.btn-outline:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); }

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border-color: transparent;
    box-shadow: none;
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-800); }

.auth-back-form { margin-top: 12px; }
.auth-alt-form { margin-top: 10px; }
.auth-back-btn { font-size: 14px; font-weight: 500; }

.btn-full { width: 100%; }
.btn-lg   { padding: 13px 28px; font-size: 16px; }
.btn-sm   { padding: 6px 12px; font-size: 13px; }
.btn-icon { flex-shrink: 0; }

.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 8px; }
.form-actions-note { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; flex: 1; }

.link-underline { color: var(--primary); text-decoration: underline; }

.badge {
    display: inline-flex; align-items: center;
    padding: 4px 12px; border-radius: 20px;
    font-size: 13px; font-weight: 600;
}
.badge-success  { background: var(--success-bg); color: var(--success); }
.badge-danger   { background: var(--danger-bg);  color: var(--danger); }
.badge-warning  { background: var(--warning-bg); color: var(--warning); }

.site-footer { border-top: 1px solid var(--gray-200); padding: 24px 0; text-align: center; }
.footer-text { font-size: 13px; color: var(--gray-500); }
.footer-sub  { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.footer-link { color: var(--primary); text-decoration: none; }
.footer-link:hover { text-decoration: underline; }

.ticket-wrapper { margin-bottom: 32px; }
.entry-card-wrapper { margin-bottom: 28px; }
.entry-card-label {
    font-size: 13px; font-weight: 700; color: var(--primary-dark);
    text-transform: uppercase; letter-spacing: .04em;
    margin-bottom: 10px;
}
.ticket-qr-note {
    font-size: 11px; color: var(--gray-500); text-align: center;
    margin-top: 6px; max-width: 280px;
}
.ticket-details--compact { margin-top: 8px; }
.checkbox-label--table { justify-content: center; margin: 0; }

.ticket {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid var(--gray-200);
}

.ticket-header {
    background: linear-gradient(125deg, var(--primary-light) 0%, #fef2f2 35%, var(--accent-light) 100%);
    padding: 24px 28px;
    display: flex; align-items: center; justify-content: space-between;
    color: var(--gray-900);
    border-bottom: 1px solid rgba(237, 28, 36, 0.15);
}

.ticket-header-left { display: flex; align-items: center; gap: 16px; }
.ticket-logo {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--white);
    border: 1px solid rgba(237, 28, 36, 0.22);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 13px; letter-spacing: .5px;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}
.ticket-event-name { font-size: 18px; font-weight: 700; color: var(--gray-900); }
.ticket-event-sub  { font-size: 13px; color: var(--gray-600); margin-top: 2px; }
.ticket-year { font-size: 28px; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; }

.ticket-body {
    padding: 28px 28px 0;
    border-bottom: none;
}

.ticket-info { width: 100%; }

.ticket-name       { font-size: 26px; font-weight: 800; color: var(--gray-900); }
.ticket-student-no { font-size: 13px; color: var(--gray-500); margin-top: 2px; font-family: monospace; letter-spacing: .5px; }

.ticket-details {
    margin-top: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 10px;
    align-items: start;
}

.ticket-detail-row { display: contents; }

.ticket-detail-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .05em; color: var(--gray-500);
    padding-top: 1px; white-space: nowrap;
}
.ticket-detail-value {
    font-size: 14px; color: var(--gray-800); font-weight: 500;
    line-height: 1.4; min-width: 0; word-break: break-word;
}
.ticket-detail-highlight .ticket-detail-value { color: var(--primary); }
.ticket-seans { font-weight: 700; font-size: 15px; }
.ticket-tarih { font-weight: 700; font-size: 15px; color: var(--primary); }

.ticket-qr-footer {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
    padding: 24px 28px 28px;
    border-top: 1px dashed var(--gray-200);
    background: var(--gray-50);
}

.ticket-qr-wrapper {
    background: var(--white); padding: 12px;
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.ticket-qr-image { display: block; width: 240px; height: 240px; max-width: 100%; }
.ticket-qr-label { font-size: 12px; color: var(--gray-600); text-align: center; font-weight: 600; }

.ticket-qr-placeholder {
    width: 240px; height: 240px; max-width: 100%;
    background: var(--gray-50); border: 1px dashed var(--gray-300); border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    color: var(--gray-400); font-size: 12px;
}

.ticket-perforation {
    display: flex; align-items: center;
    padding: 0 -12px;
    position: relative;
    border-top: 1px dashed var(--gray-200);
    margin: 0;
}
.ticket-circle {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    flex-shrink: 0;
    position: absolute;
}
.ticket-circle-left  { left: -12px; }
.ticket-circle-right { right: -12px; }
.ticket-dashes { flex: 1; }

.ticket-footer {
    padding: 16px 28px;
    background: var(--gray-50);
    display: flex; gap: 32px; flex-wrap: wrap;
}

.ticket-footer-col { display: flex; flex-direction: column; gap: 3px; }
.ticket-footer-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); font-weight: 600; }
.ticket-footer-val   { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.ticket-footer-val.badge-success { font-size: 12px; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 640px) { .info-cards { grid-template-columns: 1fr; } }

.info-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 20px;
    display: flex; gap: 14px; align-items: flex-start;
}
.info-card-icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-card-title { font-size: 14px; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.info-card-text  { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

.error-page-card,
.error-page {
    text-align: center; color: var(--gray-800);
    padding: 48px 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}
.error-code  { font-size: 72px; font-weight: 900; line-height: 1; color: var(--primary); opacity: 0.35; }
.error-title { font-size: 26px; font-weight: 700; margin: 12px 0 8px; color: var(--gray-900); }
.error-desc  { font-size: 15px; color: var(--gray-600); line-height: 1.65; max-width: 400px; margin: 0 auto; }
.error-actions { margin-top: 28px; }

.support-notice {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}
.support-notice-link {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}
.support-notice-link:hover { text-decoration: underline; }
.support-notice--auth {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 13px;
}
.support-notice--auth .support-notice-link { color: var(--primary-dark); }
.support-notice--inline {
    margin: 0 0 24px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}
.support-notice--error { margin-top: 24px; font-size: 14px; }
.support-notice--footer { margin-top: 8px; }
.support-notice--card { margin-bottom: 16px; }
.support-notice--gate {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 12px;
    font-size: 12px;
}
.support-notice--gate .support-notice-link { color: #fff; }

@media (max-width: 640px) {
    .card-inner { padding: 24px 20px; }
    .alert { padding: 12px 14px; font-size: 13px; }
    .auth-card .input-wrapper { width: 100%; overflow: hidden; }
    .auth-card .input-wrapper-date .form-input {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .ticket-body { padding: 20px 20px 0; }
    .ticket-details { grid-template-columns: 1fr; row-gap: 4px; }
    .ticket-detail-row { display: flex; flex-direction: column; gap: 2px; }
    .ticket-detail-label { white-space: normal; }
    .ticket-qr-footer { padding: 20px; }
    .ticket-qr-image { width: min(240px, 72vw); height: auto; aspect-ratio: 1; }
    .ticket-qr-placeholder { width: min(240px, 72vw); height: min(240px, 72vw); }
    .ticket-name { font-size: 20px; }
    .page-header { flex-direction: column; align-items: flex-start; }
    .form-actions { flex-direction: column; align-items: stretch; }
    .header-brand-text { display: none; }
}
