/* QQuack registration page — full-body scenic background */
:root {
    --q-yellow: #ffd900;
    --q-yellow-deep: #f2b900;
    --q-black: #05090c;
    --q-ink: #101419;
    --q-muted: #737b84;
    --q-border: #dfe3e7;
    --q-font: "Inter", Arial, sans-serif;
    --q-display: "Barlow Condensed", Impact, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body.register-page {
    min-height: 100vh;
    margin: 0;
    font-family: var(--q-font);
    color: var(--q-ink);
    background: #05090c url("../images/register.png") center center / cover fixed no-repeat;
}

body.register-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(3, 8, 12, .10) 0%, rgba(3, 8, 12, .18) 45%, rgba(3, 8, 12, .70) 100%);
}

a {
    color: inherit;
}

.register-layout {
    position: relative;
    z-index: 1;
    width: min(1500px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 58px);
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(470px, .96fr);
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
}

.brand-panel {
    align-self: stretch;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0 8px;
    color: #fff;
}

.brand-logo {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    width: 150px;
    height: 135px;
    object-fit: contain;
    filter: drop-shadow(0 5px 12px #0008);
}

.logo-fallback {
    display: none;
    color: var(--q-yellow);
    font: italic 900 42px var(--q-display);
    text-shadow: 2px 3px 0 #000;
}

.logo-fallback span {
    font-size: .55em;
}

.brand-message {
    margin-top: auto;
    margin-bottom: auto;
    padding: 45px 0 35px;
    max-width: 620px;
    text-shadow: 0 3px 15px #0009;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--q-yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eyebrow span {
    display: inline-block;
    width: 26px;
    height: 3px;
    margin: 0 8px 3px 0;
    background: var(--q-yellow);
}

.brand-message h1 {
    margin: 0;
    font: italic 900 clamp(48px, 5.6vw, 82px)/.88 var(--q-display);
    letter-spacing: -.5px;
}

.brand-message h1 em {
    color: var(--q-yellow);
    font-style: inherit;
}

.brand-description {
    margin: 17px 0 0;
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 500;
}

.brand-rule {
    width: 118px;
    height: 4px;
    margin: 20px 0 30px;
    background: linear-gradient(90deg, var(--q-yellow), #ff9f00);
}

.brand-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.brand-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 105px;
    text-align: center;
    gap: 7px;
}

.benefit-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--q-yellow);
    border: 3px solid var(--q-yellow);
    border-radius: 50%;
    background: rgba(0, 0, 0, .63);
    font-size: 20px;
    box-shadow: 0 0 18px #ffd90020;
}

.brand-benefit strong {
    font-size: 12px;
}

.brand-benefit small {
    color: #e4e7e9;
    font-size: 10px;
}

.brand-bottom-note {
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-bottom-note i {
    color: var(--q-yellow);
    margin-right: 8px;
}

.form-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.register-card {
    width: 100%;
    max-width: 590px;
    padding: clamp(25px, 3vw, 43px) clamp(24px, 3.4vw, 52px) 27px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 23px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 217, 0, .08);
}

.form-logo {
    display: flex;
    justify-content: center;
    margin: -3px auto 8px;
    text-decoration: none;
}

.form-logo img {
    width: 110px;
    height: 98px;
    object-fit: contain;
}

.form-logo .logo-fallback {
    font-size: 36px;
}

.form-heading {
    text-align: center;
    margin-bottom: 25px;
}

.heading-kicker {
    display: block;
    margin-bottom: 8px;
    color: #9b7900;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.form-heading h2 {
    margin: 0 0 9px;
    color: #111418;
    font-size: clamp(25px, 2.3vw, 33px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.8px;
}

.form-heading p {
    max-width: 420px;
    margin: 0 auto;
    color: #5f656c;
    font-size: 12px;
    line-height: 1.7;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-group>label {
    color: #343a40;
    font-size: 11px;
    font-weight: 700;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 49px;
    padding: 0 14px;
    border: 1px solid var(--q-border);
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.input-wrap:focus-within {
    border-color: #e6b900;
    box-shadow: 0 0 0 3px rgba(255, 217, 0, .17);
}

.input-wrap>i {
    flex: 0 0 16px;
    color: #292e33;
    font-size: 14px;
    text-align: center;
}

.input-wrap input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #16191d;
    font: 12px var(--q-font);
}

.input-wrap input::placeholder {
    color: #969ca3;
}

.password-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 25px;
    width: 25px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #777e85;
    cursor: pointer;
    font-size: 14px;
}

.field-hint {
    color: #777e85;
    font-size: 10px;
}

.field-error {
    color: #c52b2b;
    font-size: 10px;
}

.form-errors {
    padding: 10px 12px;
    border: 1px solid #f1b5b5;
    border-radius: 8px;
    background: #fff1f1;
    color: #b42323;
    font-size: 12px;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 2px 0 1px;
    color: #60666d;
    font-size: 10px;
    line-height: 1.6;
}

.terms-check input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    accent-color: #e7b900;
}

.terms-check a {
    color: #122e63;
    font-weight: 700;
    text-decoration: none;
}

.terms-check a:hover {
    text-decoration: underline;
}

.create-account-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 6px 8px 6px 22px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(100deg, #ffd900, #ffc900);
    color: #101010;
    box-shadow: 0 5px 0 #e5b300;
    font: 800 14px var(--q-font);
    cursor: pointer;
    transition: transform .2s, filter .2s;
}

.create-account-button>span:first-child {
    flex: 1;
    padding-left: 35px;
}

.create-account-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.button-arrow {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: #080b0d;
    color: var(--q-yellow);
    font-size: 15px;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 0;
}

.login-divider span {
    height: 1px;
    flex: 1;
    background: #e1e4e7;
}

.login-divider p {
    margin: 0;
    color: #858b91;
    white-space: nowrap;
    font-size: 10px;
}

.login-button {
    display: grid;
    place-items: center;
    min-height: 47px;
    border: 1.5px solid #e6b900;
    border-radius: 11px;
    color: #15336c;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.login-button:hover {
    background: #fff8d5;
    color: #101010;
}

.secure-note {
    margin: 2px 0 0;
    text-align: center;
    color: #9aa0a5;
    font-size: 9px;
}

.secure-note i {
    margin-right: 5px;
    color: #36945a;
}

.mobile-tagline {
    display: none;
}

@media (max-width: 1050px) {
    .register-layout {
        grid-template-columns: minmax(0, .8fr) minmax(430px, 1fr);
        gap: 25px;
        padding: 28px;
    }

    .brand-message h1 {
        font-size: clamp(45px, 6vw, 65px);
    }

    .brand-benefits {
        gap: 12px;
    }

    .brand-benefit {
        min-width: 95px;
    }

    .register-card {
        padding: 28px 27px 24px;
    }
}

@media (max-width: 760px) {
    body.register-page {
        background-position: 36% center;
        background-attachment: scroll;
    }

    body.register-page::before {
        background: rgba(2, 7, 10, .62);
    }

    .register-layout {
        display: block;
        min-height: 100vh;
        padding: 18px 14px 24px;
    }

    .brand-panel {
        min-height: 0;
        padding: 0 5px;
    }

    .brand-logo img {
        width: 90px;
        height: 78px;
    }

    .brand-message {
        padding: 15px 0 22px;
    }

    .brand-message h1 {
        font-size: clamp(39px, 10vw, 58px);
    }

    .brand-description {
        margin-top: 10px;
        font-size: 13px;
    }

    .brand-rule {
        margin: 13px 0 16px;
    }

    .brand-benefits {
        gap: 12px;
    }

    .brand-benefit {
        min-width: 0;
        flex: 1;
        gap: 5px;
    }

    .benefit-icon {
        width: 39px;
        height: 39px;
        border-width: 2px;
        font-size: 15px;
    }

    .brand-benefit strong {
        font-size: 10px;
    }

    .brand-benefit small {
        font-size: 8px;
    }

    .brand-bottom-note {
        display: none;
    }

    .register-card {
        max-width: 520px;
        margin: 0 auto;
        padding: 22px 20px 20px;
        border-radius: 18px;
    }

    .form-logo img {
        width: 76px;
        height: 68px;
    }

    .form-heading {
        margin-bottom: 18px;
    }

    .form-heading h2 {
        font-size: 26px;
    }

    .form-heading p {
        font-size: 11px;
    }

    .register-form {
        gap: 11px;
    }

    .input-wrap {
        min-height: 46px;
    }

    .input-wrap input {
        height: 43px;
    }

    .mobile-tagline {
        display: block;
        margin: 14px 0 0;
        color: #fff;
        text-align: center;
        font-size: 10px;
        font-weight: 600;
    }
}

@media (max-width: 420px) {
    .name-row {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .register-card {
        padding: 20px 16px;
    }

    .brand-message h1 {
        font-size: 40px;
    }

    .brand-benefits {
        gap: 8px;
    }

    .brand-benefit small {
        display: none;
    }

    .create-account-button {
        min-height: 50px;
    }

    .login-divider {
        gap: 8px;
    }

    .login-divider p {
        font-size: 9px;
    }
}
/* Logo badge: qquack-logo.jpg has a black background, so show it as a rounded badge */
.brand-logo img,
.form-logo img {
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 26%;
    background: #000;
    box-shadow: 0 0 0 2px rgba(255, 217, 0, .55), 0 16px 34px -12px rgba(0, 0, 0, .8);
}
