@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --blue: #2563eb;
    --blue-dk: #1d4ed8;
    --orange: #d97706;
    --orange-lt: #f59e0b;
    --ink: #0f172a;
    --soft: #64748b;
    --bg: #f1f5f9;
    --white: #fff;
    --red: #dc2626
}

html, body {
    min-height: 100vh;
    font-family: 'Outfit',system-ui,sans-serif;
    background: var(--ink)
}

.page {
    display: grid;
    grid-template-columns: 1fr 460px;
    min-height: 100vh
}

.left {
    /* Layered: photographic travel hero (right-aligned) under a deep-blue gradient
       overlay that keeps the typography readable on the left half. The gradient
       fades from solid (left) to ~25% opacity (right) so the image shows through. */
    background:
        linear-gradient(95deg, #0f172a 0%, rgba(30,64,175,0.92) 28%, rgba(37,99,235,0.55) 62%, rgba(15,23,42,0.35) 100%),
        url('/img/brand/hero.jpg') center right / cover no-repeat,
        #1e40af;
    padding: 56px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden
}

    .left::before {
        content: '';
        position: absolute;
        inset: 0;
        /* subtle dotted texture / vignette top-right */
        background:
            radial-gradient(ellipse 60% 40% at 85% 18%, rgba(251,191,36,.08), transparent 70%),
            radial-gradient(ellipse 90% 60% at 50% 110%, rgba(15,23,42,.5), transparent 70%);
        pointer-events: none
    }

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    text-decoration: none
}

.brand-logo img {
    height: 44px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.25))
}

.b-tag {
    font-size: 10px;
    color: var(--orange-lt);
    letter-spacing: 2.4px;
    text-transform: uppercase;
    font-weight: 700;
    padding-left: 14px;
    border-left: 1.5px solid rgba(255,255,255,.25)
}

/* Block: hero copy + feature list grouped in the centre of the panel.
   The .left container uses justify-content:space-between, so the brand
   logo sits at the top, this group sits in the middle, and brand-foot
   sticks to the bottom. */
.hero {
    font-size: clamp(30px,3.6vw,44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin: 0 0 14px;
    position: relative;
    text-shadow: 0 2px 18px rgba(0,0,0,.25)
}

    .hero span {
        color: var(--orange-lt)
    }

.hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,.78);
    line-height: 1.55;
    max-width: 440px;
    margin: 0 0 26px;
    position: relative;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,.25)
}

.feat-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 10px;
    position: relative
}

.feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 14px;
    background: rgba(15,23,42,.32);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255,255,255,.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px)
}

.feat-list li b { color: #fff; font-weight: 700 }

.feat-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--orange-lt);
    margin-top: 1px
}

.brand-foot {
    font-size: 11px;
    color: rgba(255,255,255,.5);
    letter-spacing: .3px;
    margin: 0;
    position: relative;
    font-weight: 500
}

.right {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px
}

.card {
    width: 100%;
    max-width: 380px
}

.card-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px
}

.card-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: -.5px
}

.card-sub {
    font-size: 14px;
    color: var(--soft);
    margin-bottom: 28px;
    font-weight: 400
}

.tabs {
    display: flex;
    background: rgba(15,23,42,.05);
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 22px
}

.tab {
    flex: 1;
    padding: 9px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--soft);
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s
}

    .tab.active {
        background: #fff;
        color: var(--ink);
        box-shadow: 0 2px 8px rgba(0,0,0,.08);
        font-weight: 600
    }

.err {
    padding: 11px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 9px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--red);
    animation: shake .4s
}

@keyframes shake {
    0%,100% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-5px)
    }

    75% {
        transform: translateX(5px)
    }
}

.fg {
    margin-bottom: 16px
}

.fl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #334155;
    margin-bottom: 6px;
    display: block
}

.iw {
    position: relative
}

.ii {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--soft);
    pointer-events: none;
    display: flex
}

.fi {
    width: 100%;
    height: 50px;
    padding: 0 14px 0 42px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: border-color .2s,box-shadow .2s
}

    .fi::placeholder {
        color: #94a3b8;
        font-weight: 300
    }

    .fi:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px rgba(37,99,235,.08)
    }

/* Caps-Lock hint — collapses to 0 height when not active so it doesn't push the
   layout. Shown via .show class added by the keydown/keyup listener. */
.caps-hint {
    font-size: 11px;
    font-weight: 600;
    color: #b45309;
    margin-top: 6px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .18s ease, opacity .18s ease;
}
.caps-hint.show {
    max-height: 22px;
    opacity: 1;
}

.pt {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--soft);
    cursor: pointer;
    padding: 3px;
    display: flex;
    transition: color .2s
}

    .pt:hover {
        color: var(--ink)
    }

.btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg,var(--blue),var(--blue-dk));
    border: none;
    border-radius: 11px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(37,99,235,.25);
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 24px rgba(37,99,235,.35)
    }

    .btn:active {
        transform: scale(.99)
    }

    .btn:disabled {
        opacity: .6;
        cursor: not-allowed
    }

.card-links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between
}

.cl {
    font-size: 13px;
    color: var(--blue);
    text-decoration: none;
    transition: opacity .2s;
    font-weight: 500
}

    .cl:hover {
        opacity: .75
    }

    .cl.bold {
        font-weight: 700
    }

.otp-panel {
    display: none
}

@media(max-width:800px) {
    .page {
        grid-template-columns: 1fr
    }

    .left {
        display: none
    }

    .right {
        min-height: 100vh;
        background: linear-gradient(180deg,#0f172a,#1e293b)
    }

    .card-title {
        color: #fff
    }

    .card-sub {
        color: rgba(255,255,255,.45)
    }

    .card-eyebrow {
        color: var(--orange-lt)
    }

    .tabs {
        background: rgba(255,255,255,.08)
    }

    .tab.active {
        background: rgba(255,255,255,.12);
        color: #fff
    }

    .fi {
        background: rgba(255,255,255,.06);
        border-color: rgba(255,255,255,.1);
        color: #fff
    }

        .fi::placeholder {
            color: rgba(255,255,255,.3)
        }

        .fi:focus {
            background: rgba(255,255,255,.08)
        }

    .fl {
        color: rgba(255,255,255,.5)
    }
}
