:root {
    color-scheme: light;
    --ink: #17140f;
    --muted: #756b5b;
    --line: #e4dac7;
    --surface: #fffdf8;
    --surface-soft: #f8f1e2;
    --night: #070706;
    --night-2: #14110c;
    --gold: #d6a536;
    --gold-2: #f3d27a;
    --gold-soft: #fff4cf;
    --white: #ffffff;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 18%, rgba(214, 165, 54, 0.26), transparent 34rem),
        radial-gradient(circle at 82% 8%, rgba(243, 210, 122, 0.16), transparent 28rem),
        linear-gradient(135deg, #070706 0%, #18140d 48%, #0b0a08 100%);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.admin-shell {
    min-height: 100vh;
    background: #f7f3ea;
}

.admin-shell .navbar {
    background: var(--night) !important;
    border-bottom-color: rgba(214, 165, 54, 0.35) !important;
}

.admin-shell .navbar-brand,
.admin-shell .navbar .small {
    color: var(--gold-2) !important;
}

.admin-title {
    font-size: 3rem;
    line-height: 1;
    letter-spacing: 0;
    color: var(--gold);
    text-transform: uppercase;
}

.admin-heading {
    margin: 0 0 0.25rem;
    font-size: 2.4rem;
    letter-spacing: 0;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 16px 42px rgba(23, 20, 15, 0.08);
}

.admin-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.5rem;
}

.admin-table-wrap .table {
    min-width: 1120px;
}

.admin-table-wrap th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.hero-banner {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 7;
    min-height: 18rem;
    max-height: 34rem;
    border: 1px solid rgba(214, 165, 54, 0.42);
    border-radius: 8px;
    background: #000;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.hero-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-preview {
    position: relative;
    overflow: hidden;
    min-height: 34rem;
    border: 1px solid rgba(214, 165, 54, 0.38);
    border-radius: 8px;
    background: var(--night);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.event-preview img {
    position: absolute;
    inset: 1.5rem 1.2rem 4.5rem;
    width: 100%;
    height: 100%;
    width: calc(100% - 2.4rem);
    height: calc(100% - 6rem);
    object-fit: contain;
    opacity: 1;
}

.event-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 6, 0), rgba(7, 7, 6, 0.2) 62%, rgba(7, 7, 6, 0.88));
}

.event-preview-copy {
    position: absolute;
    z-index: 1;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
    color: var(--white);
    text-align: center;
}

.event-preview-copy span {
    display: block;
    color: var(--gold-2);
    font-size: 3rem;
    line-height: 0.95;
    font-weight: 950;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.event-preview-copy strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.event-preview-copy p {
    max-width: 22rem;
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.brand-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.brand-badge {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #1d1608;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.panel {
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(214, 165, 54, 0.34);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    padding: 2rem;
}

.panel-header {
    margin-bottom: 1.75rem;
}

.panel-header h1 {
    margin: 0 0 0.5rem;
    font-size: 3.15rem;
    line-height: 1;
    letter-spacing: 0;
    color: var(--ink);
    text-transform: uppercase;
}

.panel-header p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.form-label {
    color: var(--ink);
    font-weight: 800;
}

.form-text,
.text-secondary {
    color: var(--muted) !important;
}

.form-control,
.form-select {
    min-height: 3rem;
    border-color: #d4c6ab;
    background-color: #fffefa;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(214, 165, 54, 0.22);
}

.wizard-steps {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
}

.wizard-step {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-weight: 800;
}

.wizard-step span {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--muted);
}

.wizard-step.is-active,
.wizard-step.is-complete {
    color: var(--ink);
}

.wizard-step.is-active span,
.wizard-step.is-complete span {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #1d1608;
}

.wizard-line {
    height: 1px;
    background: var(--line);
}

.payment-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.payment-summary div,
.bank-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
}

.payment-summary div {
    min-height: 5rem;
    padding: 1rem;
}

.payment-summary span,
.bank-box dt {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.payment-summary strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.35rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.payment-options .btn {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

.bank-box {
    padding: 1rem;
}

.bank-box h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.bank-box dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    margin: 0;
}

.bank-box dd {
    margin: 0.2rem 0 0;
    overflow-wrap: anywhere;
    font-weight: 800;
}

.btn-dark {
    --bs-btn-bg: #17140f;
    --bs-btn-border-color: #17140f;
    --bs-btn-hover-bg: #2b2213;
    --bs-btn-hover-border-color: #2b2213;
    --bs-btn-disabled-bg: #8a8173;
    --bs-btn-disabled-border-color: #8a8173;
}

.btn-outline-dark {
    --bs-btn-color: #17140f;
    --bs-btn-border-color: #b88a2f;
    --bs-btn-hover-bg: #17140f;
    --bs-btn-hover-border-color: #17140f;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #17140f;
    --bs-btn-active-border-color: #17140f;
}

.btn-check:checked + .btn {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-color: var(--gold);
    color: #1d1608;
    font-weight: 800;
}

.confirmation {
    text-align: center;
}

.success-mark {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--gold-soft);
    color: #7d560e;
    font-size: 2rem;
    font-weight: 900;
}

.confirmation-label {
    margin-bottom: 0.5rem;
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.confirmation h2 {
    font-size: 2.15rem;
    letter-spacing: 0;
}

.pickup-code {
    margin: 1rem auto;
    width: min(100%, 16rem);
    border: 2px dashed var(--gold);
    border-radius: 8px;
    background: var(--gold-soft);
    color: #8f620e;
    font-size: 4.25rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0.08em;
    padding: 1rem;
}

.payment-reminder {
    color: var(--ink);
    font-weight: 800;
}

.mail-note {
    color: var(--muted);
    font-size: 0.95rem;
}

.modal-content {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: #fbf6ea;
}

.alert-info {
    --bs-alert-color: #4b3712;
    --bs-alert-bg: #fff4cf;
    --bs-alert-border-color: #efd081;
}

@media (max-width: 991.98px) {
    .hero-banner {
        aspect-ratio: 16 / 9;
        min-height: 10rem;
    }

    .event-preview {
        min-height: 18rem;
    }
}

@media (max-width: 575.98px) {
    .panel {
        padding: 1.25rem;
    }

    .panel-header h1,
    .admin-title {
        font-size: 2.25rem;
    }

    .admin-heading {
        font-size: 2rem;
    }

    .event-preview {
        min-height: 14rem;
    }

    .hero-banner {
        aspect-ratio: 16 / 9;
        min-height: 8rem;
    }

    .event-preview-copy span {
        font-size: 2.15rem;
    }

    .payment-summary,
    .payment-options,
    .bank-box dl {
        grid-template-columns: 1fr;
    }

    .admin-search {
        grid-template-columns: 1fr;
    }
}
