/* QQuack login page — body background image and racing-yellow accents */
:root {
    --yellow: #ffd900;
    --yellow-deep: #eab900;
    --black: #05090c;
    --ink: #111519;
    --muted: #737b84;
    --border: #dfe3e7;
    --font: "Inter", Arial, sans-serif;
    --display: "Barlow Condensed", Impact, sans-serif
}

* {
    box-sizing: border-box
}

html {
    min-height: 100%
}

body.login-page {
    min-height: 100vh;
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: #05090c url("../images/register.png") center center/cover fixed no-repeat
}

body.login-page:before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(2, 7, 10, .12) 0%, rgba(2, 7, 10, .26) 48%, rgba(2, 7, 10, .76) 100%)
}

a {
    color: inherit
}

.login-layout {
    position: relative;
    z-index: 1;
    width: min(1500px, 100%);
    min-height: 100vh;
    margin: auto;
    padding: clamp(24px, 4vw, 58px);
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(450px, .96fr);
    align-items: center;
    gap: clamp(28px, 5vw, 76px)
}

.login-brand-panel {
    align-self: stretch;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0 8px;
    color: white
}

.brand-logo {
    display: inline-flex;
    width: fit-content;
    text-decoration: none
}

.brand-logo img {
    width: 150px;
    height: 135px;
    object-fit: contain;
    filter: drop-shadow(0 5px 12px #0008)
}

.brand-message {
    margin: auto 0;
    padding: 45px 0 35px;
    max-width: 620px;
    text-shadow: 0 3px 15px #0009
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--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(--yellow)
}

.brand-message h1 {
    margin: 0;
    font: italic 900 clamp(48px, 5.6vw, 82px)/.9 var(--display);
    letter-spacing: -.5px
}

.brand-message h1 em {
    color: var(--yellow);
    font-style: inherit
}

.brand-description {
    margin: 18px 0 0;
    color: #f1f2f3;
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.7
}

.brand-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 32px
}

.brand-benefits div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700
}

.brand-benefits i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--yellow);
    border-radius: 50%;
    color: var(--yellow);
    background: #050708bd;
    font-size: 16px
}

.brand-bottom-note {
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px
}

.brand-bottom-note i {
    color: var(--yellow);
    margin-right: 8px
}

.login-form-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.login-card {
    width: 100%;
    max-width: 570px;
    padding: clamp(28px, 3.5vw, 48px) clamp(25px, 3.5vw, 52px) 28px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 23px;
    background: rgba(255, 255, 255, .975);
    box-shadow: 0 24px 80px #0006, 0 0 0 1px #ffd90014
}

.mobile-logo {
    display: none;
    justify-content: center;
    margin: -4px auto 12px
}

.mobile-logo img {
    width: 86px;
    height: 76px;
    object-fit: contain
}

.login-heading {
    text-align: center;
    margin-bottom: 29px
}

.heading-kicker {
    display: block;
    margin-bottom: 9px;
    color: #997800;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px
}

.login-heading h2 {
    margin: 0 0 10px;
    color: #111519;
    font-size: clamp(27px, 2.4vw, 35px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.8px
}

.login-heading p {
    max-width: 400px;
    margin: 0 auto;
    color: #646b72;
    font-size: 12px;
    line-height: 1.7
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0
}

.field-group>label,
.password-label-row>label {
    color: #343a40;
    font-size: 12px;
    font-weight: 700
}

.password-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

.forgot-link {
    color: #17386e;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none
}

.forgot-link:hover {
    text-decoration: underline
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid var(--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 #ffd9002b
}

.input-wrap>i {
    flex: 0 0 16px;
    color: #292e33;
    font-size: 15px;
    text-align: center
}

.input-wrap input {
    width: 100%;
    min-width: 0;
    height: 49px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #16191d;
    font: 12px var(--font)
}

.input-wrap input::placeholder {
    color: #969ca3
}

.password-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 27px;
    width: 27px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #777e85;
    cursor: pointer;
    font-size: 14px
}

.remember-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: -4px;
    color: #5d646b;
    font-size: 11px
}

.remember-check input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #e7b900
}

.login-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 7px 8px 7px 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(100deg, #ffd900, #ffc900);
    color: #101010;
    box-shadow: 0 5px 0 #e5b300;
    font: 800 13px var(--font);
    cursor: pointer;
    transition: transform .2s, filter .2s
}

.login-submit>span:first-child {
    flex: 1;
    padding-left: 25px
}

.login-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.03)
}

.button-arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #080b0d;
    color: var(--yellow);
    font-size: 15px
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 0
}

.login-divider span {
    height: 1px;
    flex: 1;
    background: #e1e4e7
}

.login-divider p {
    margin: 0;
    color: #858b91;
    white-space: nowrap;
    font-size: 10px
}

.create-account-link {
    display: grid;
    place-items: center;
    min-height: 48px;
    border: 1.5px solid #e6b900;
    border-radius: 11px;
    color: #17386e;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s, color .2s
}

.create-account-link:hover {
    background: #fff8d5;
    color: #111
}

.secure-note {
    margin: 0;
    text-align: center;
    color: #9aa0a5;
    font-size: 9px
}

.secure-note i {
    margin-right: 5px;
    color: #36945a
}

.form-errors,
.message {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px
}

.form-errors,
.message-error {
    border: 1px solid #f1b5b5;
    background: #fff1f1;
    color: #b42323
}

.message-success {
    border: 1px solid #b9e4c6;
    background: #effcf3;
    color: #207442
}

.mobile-tagline {
    display: none
}

@media(max-width:1050px) {
    .login-layout {
        grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr);
        gap: 25px;
        padding: 28px
    }

    .brand-message h1 {
        font-size: clamp(44px, 6vw, 65px)
    }

    .brand-benefits {
        gap: 13px
    }

    .login-card {
        padding: 30px 28px 25px
    }
}

@media(max-width:760px) {
    body.login-page {
        background-position: 36% center;
        background-attachment: scroll
    }

    body.login-page:before {
        background: rgba(2, 7, 10, .65)
    }

    .login-layout {
        display: block;
        min-height: 100vh;
        padding: 18px 14px 24px
    }

    .login-brand-panel {
        min-height: 0;
        padding: 0 5px
    }

    .brand-logo img {
        width: 86px;
        height: 75px
    }

    .brand-message {
        padding: 15px 0 22px
    }

    .brand-message h1 {
        font-size: clamp(39px, 10vw, 58px)
    }

    .brand-description {
        font-size: 13px;
        margin-top: 10px
    }

    .brand-benefits {
        gap: 12px;
        margin-top: 18px
    }

    .brand-benefits div {
        gap: 6px;
        font-size: 9px
    }

    .brand-benefits i {
        width: 32px;
        height: 32px;
        font-size: 13px
    }

    .brand-bottom-note {
        display: none
    }

    .login-card {
        max-width: 520px;
        margin: auto;
        padding: 24px 21px 21px;
        border-radius: 18px
    }

    .mobile-logo {
        display: flex
    }

    .login-heading {
        margin-bottom: 20px
    }

    .login-heading h2 {
        font-size: 27px
    }

    .login-heading p {
        font-size: 11px
    }

    .login-form {
        gap: 14px
    }

    .input-wrap {
        min-height: 48px
    }

    .input-wrap input {
        height: 45px
    }

    .mobile-tagline {
        display: block;
        margin: 14px 0 0;
        color: white;
        text-align: center;
        font-size: 10px;
        font-weight: 600
    }
}

@media(max-width:420px) {
    .login-card {
        padding: 21px 16px
    }

    .brand-message h1 {
        font-size: 40px
    }

    .brand-benefits {
        gap: 8px
    }

    .brand-benefits div {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1
    }

    .login-submit {
        min-height: 52px
    }

    .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,
.mobile-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)
}
