:root {
    --ink: #17202a;
    --muted: #647184;
    --line: #d8dee8;
    --surface: #ffffff;
    --wash: #f4f8fc;
    --primary: #243c8f;
    --primary-dark: #172766;
    --sky: #66c8ec;
    --uniport-green: #08a94f;
    --accent: #b3261e;
    --gold: #d89b19;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--wash);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--primary);
}

.hero {
    background:
        linear-gradient(90deg, rgba(9, 28, 83, 0.9), rgba(9, 28, 83, 0.7) 46%, rgba(9, 28, 83, 0.26)),
        url("../img/tech-hero-bg.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 42px 18px 34px;
}

.hero-inner,
.page-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.hero-brand {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
}

.hero-brand img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.eyebrow,
.step-badge {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0;
    font-weight: 700;
}

.hero h1 {
    max-width: 820px;
    margin: 8px 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
}

.theme {
    max-width: 780px;
    margin: 0 0 18px;
    font-size: 18px;
    color: #eaf7ff;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.event-meta span,
.step-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(102, 200, 236, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.registration-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    padding: 28px 18px 56px;
    align-items: start;
}

.form-panel,
.payment-panel,
.install-box,
.admin-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(31, 45, 61, 0.08);
}

.form-panel,
.payment-panel,
.install-box {
    padding: 24px;
}

.payment-panel {
    position: sticky;
    top: 18px;
}

.panel-heading {
    margin-bottom: 20px;
}

.panel-heading h2 {
    margin: 10px 0 0;
    font-size: 22px;
}

.registration-form {
    display: grid;
    gap: 18px;
}

.field-grid {
    display: grid;
    gap: 16px;
}

.field-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.three {
    grid-template-columns: 140px repeat(2, minmax(0, 1fr));
}

label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    font-size: 14px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd3df;
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

small {
    color: var(--muted);
    font-weight: 400;
}

.captcha-box {
    border: 1px dashed var(--primary);
    border-radius: 8px;
    padding: 14px;
    background: #eef8fd;
}

.payment-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.choice-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    cursor: pointer;
}

.choice-card input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.choice-card strong,
.choice-card small {
    display: block;
}

.online-payment-note {
    border-left: 4px solid var(--gold);
    background: #fff9e8;
    padding: 12px 14px;
    border-radius: 6px;
    color: #57400a;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
}

.btn.primary:hover {
    background: var(--primary-dark);
}

.btn.danger {
    background: var(--accent);
    color: #fff;
}

.btn.muted {
    background: #e8edf3;
    color: var(--ink);
}

.btn.wide {
    width: 100%;
}

.alert {
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid;
}

.alert.success {
    background: #edf8f1;
    border-color: #9ed7b7;
    color: #17613b;
}

.alert.danger {
    background: #fff0ef;
    border-color: #e3ada8;
    color: #8a2019;
}

.payment-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.payment-list div {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.payment-list dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-list dd {
    margin: 3px 0 0;
    font-weight: 800;
}

.payment-note {
    margin-top: 18px;
    color: var(--muted);
}

.admin-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
}

.installer-page,
.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.install-box {
    max-width: 620px;
}

@media (max-width: 900px) {
    .registration-layout,
    .field-grid.two,
    .field-grid.three,
    .payment-choice {
        grid-template-columns: 1fr;
    }

    .payment-panel {
        position: static;
    }

    .hero-brand {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
        justify-items: center;
    }

    .hero-brand img {
        width: 72px;
        height: 72px;
    }

    .hero h1,
    .theme {
        margin-left: auto;
        margin-right: auto;
    }

    .event-meta {
        width: 100%;
        display: grid;
        gap: 8px;
        justify-content: stretch;
        text-align: left;
    }

    .event-meta span {
        width: 100%;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.16);
    }
}
