:root {
    --auth-ink: #18302f;
    --auth-muted: #647572;
    --auth-green: #0f766e;
    --auth-green-dark: #0b4f49;
    --auth-gold: #d99b35;
    --auth-line: #dbe8e5;
    --auth-soft: #f5faf8;
}

body.auth-body-bg {
    min-height: 100vh;
    margin: 0;
    color: var(--auth-ink);
    background:
        linear-gradient(120deg, rgba(6, 35, 33, .9), rgba(8, 27, 45, .76)),
        url("/storage/defaults/kumaon-mountain.jpg") center / cover fixed;
}

.travel-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(1rem, 4vw, 2.5rem);
}

.travel-auth-shell {
    width: min(1160px, 100%);
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 80px rgba(5, 22, 31, .28);
}

.travel-auth-shell.is-register {
    width: min(1240px, 100%);
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
}

.travel-auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.6rem, 4vw, 3rem);
    color: #fff;
    background:
        linear-gradient(180deg, rgba(6, 35, 33, .12), rgba(6, 35, 33, .86)),
        url("/storage/defaults/kumaon-route.jpg") center / cover;
}

.travel-auth-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 118, 110, .36), transparent 46%, rgba(217, 155, 53, .18));
    pointer-events: none;
}

.travel-auth-visual > * {
    position: relative;
    z-index: 1;
}

.travel-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    width: fit-content;
    color: #fff;
    text-decoration: none;
}

.travel-auth-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    padding: .35rem;
}

.travel-auth-brand span,
.travel-auth-brand strong {
    display: block;
}

.travel-auth-brand strong {
    font-size: 1.02rem;
    font-weight: 800;
}

.travel-auth-brand span {
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
}

.travel-auth-story {
    max-width: 590px;
}

.travel-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 34px;
    padding: .38rem .72rem;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #eafffb;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.travel-auth-story h1 {
    margin: 1rem 0 .8rem;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.65rem);
    line-height: .98;
    font-weight: 800;
    letter-spacing: 0;
}

.travel-auth-story p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1.02rem;
    line-height: 1.72;
}

.travel-auth-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.45rem;
}

.travel-auth-highlight {
    min-height: 96px;
    padding: .9rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .13);
    backdrop-filter: blur(12px);
}

.travel-auth-highlight i {
    display: block;
    color: #ffd98a;
    font-size: 1.35rem;
    margin-bottom: .35rem;
}

.travel-auth-highlight span {
    display: block;
    color: #fff;
    font-weight: 800;
    line-height: 1.25;
}

.travel-auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(245, 250, 248, .98));
}

.travel-auth-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.is-register .travel-auth-card {
    max-width: 720px;
}

.travel-auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.travel-auth-logo img {
    height: 88px;
    width: auto;
    object-fit: contain;
}

.travel-auth-heading {
    margin-bottom: 1.4rem;
    text-align: center;
}

.travel-auth-heading span {
    color: var(--auth-green);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.travel-auth-heading h2 {
    margin: .35rem 0 .4rem;
    color: var(--auth-ink);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
}

.travel-auth-heading p {
    margin: 0 auto;
    max-width: 520px;
    color: var(--auth-muted);
    line-height: 1.6;
}

.travel-auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.travel-auth-field {
    margin-bottom: 1rem;
}

.travel-auth-field.is-wide {
    grid-column: 1 / -1;
}

.travel-auth-field label,
.travel-auth-options label {
    color: #223c3a;
    font-weight: 800;
}

.travel-auth-field .form-control,
.travel-auth-field .input-group-text,
.travel-auth-field .btn,
.travel-auth-captcha img {
    min-height: 48px;
    border-color: var(--auth-line);
    border-radius: 8px;
}

.travel-auth-field .form-control {
    color: var(--auth-ink);
    background-color: #fff;
    font-weight: 650;
}

.travel-auth-field .form-control:focus {
    border-color: rgba(15, 118, 110, .55);
    box-shadow: 0 0 0 .22rem rgba(15, 118, 110, .12);
}

.travel-auth-field .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.travel-auth-field .input-group .btn,
.travel-auth-field .input-group .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.travel-auth-captcha {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 48px;
    gap: .55rem;
    align-items: center;
}

.travel-auth-captcha img {
    width: 122px;
    height: 48px;
    display: block;
    object-fit: contain;
    border: 1px solid var(--auth-line);
    background: #fff;
}

.travel-auth-refresh {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--auth-line);
    border-radius: 8px;
    background: #fff;
    color: var(--auth-green-dark);
}

.travel-auth-refresh:hover {
    border-color: var(--auth-green);
    background: var(--auth-soft);
    color: var(--auth-green-dark);
}

.travel-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: .2rem 0 1.1rem;
    color: var(--auth-muted);
}

.travel-auth-link {
    color: var(--auth-green);
    font-weight: 800;
    text-decoration: none;
}

.travel-auth-link:hover {
    color: var(--auth-green-dark);
}

.travel-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 50px;
    border: 1px solid var(--auth-green);
    border-radius: 8px;
    background: var(--auth-green);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(15, 118, 110, .22);
}

.travel-auth-submit:hover {
    border-color: var(--auth-green-dark);
    background: var(--auth-green-dark);
    color: #fff;
}

.travel-auth-switch,
.travel-auth-footer,
.travel-auth-terms {
    color: var(--auth-muted);
    text-align: center;
}

.travel-auth-switch {
    margin-top: 1.25rem;
}

.travel-auth-terms {
    margin: 1rem 0 0;
    font-size: .92rem;
    line-height: 1.55;
}

.travel-auth-footer {
    margin-top: 1.8rem;
    font-size: .9rem;
}

.travel-auth-alert {
    border-radius: 8px;
    border: 1px solid transparent;
}

.travel-auth-alert ul {
    padding-left: 1.1rem;
}

@media (max-width: 991.98px) {
    .travel-auth-page {
        align-items: flex-start;
        padding: 1rem;
    }

    .travel-auth-shell,
    .travel-auth-shell.is-register {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .travel-auth-visual {
        min-height: 360px;
    }

    .travel-auth-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    body.auth-body-bg {
        background-attachment: scroll;
    }

    .travel-auth-visual {
        min-height: 300px;
    }

    .travel-auth-panel {
        padding: 1.25rem;
    }

    .travel-auth-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .travel-auth-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .travel-auth-captcha {
        grid-template-columns: 1fr 48px;
    }

    .travel-auth-captcha img {
        grid-column: 1 / -1;
        width: 100%;
    }
}
