/* =========================================================
   SOT TRAVELS
   CUSTOMER AUTH — PREMIUM LOGIN / SIGNUP
   ========================================================= */

:root {

    --auth-primary: #176b63;
    --auth-primary-dark: #0f514b;

    --auth-text: #172b29;
    --auth-muted: #71817e;

    --auth-border: #dfe7e5;

    --auth-bg: #f4f7f6;

    --auth-white: #ffffff;

}


/* =========================================================
   PAGE
   ========================================================= */

.auth-page {

    min-height: 100vh;

    background: #f4f7f6;

}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.auth-layout {

    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

}


/* =========================================================
   LEFT VISUAL
   ========================================================= */

.auth-visual {

    position: relative;

    min-height: 100vh;

    background-image:
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2000&q=80");

    background-size: cover;

    background-position: center;

    overflow: hidden;

}


.auth-visual-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(8, 30, 28, 0.94) 0%,
            rgba(8, 30, 28, 0.78) 48%,
            rgba(8, 30, 28, 0.48) 100%
        );

}


/* =========================================================
   VISUAL CONTENT
   ========================================================= */

.auth-visual-content {

    position: relative;

    z-index: 2;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 55px 8%;

    box-sizing: border-box;

    color: white;

}


/* =========================================================
   BRAND
   ========================================================= */

.auth-brand {

    display: flex;

    align-items: center;

    gap: 15px;

}


.auth-logo-wrap {

    width: 68px;

    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: white;

    border-radius: 14px;

    padding: 6px;

    box-sizing: border-box;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);

}


.auth-logo {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.auth-brand-name {

    font-size: 22px;

    font-weight: 800;

    letter-spacing: 1.2px;

}


.auth-brand-tagline {

    margin-top: 3px;

    font-size: 11px;

    opacity: 0.72;

    letter-spacing: 0.8px;

}


/* =========================================================
   VISUAL MAIN
   ========================================================= */

.auth-visual-main {

    max-width: 610px;

    margin-top: auto;

    margin-bottom: auto;

    padding-top: 80px;

}


.auth-visual .auth-eyebrow {

    display: inline-flex;

    align-items: center;

    padding: 7px 12px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.12);

    border:
        1px solid rgba(255, 255, 255, 0.15);

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.auth-visual-main h2 {

    margin: 20px 0 16px;

    font-size: clamp(
        42px,
        5vw,
        68px
    );

    line-height: 1.04;

    letter-spacing: -2px;

    font-weight: 800;

}


.auth-visual-main h2 span {

    display: block;

    color: #79d8cf;

}


.auth-visual-main > p {

    max-width: 540px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 16px;

    line-height: 1.75;

}


/* =========================================================
   BENEFITS
   ========================================================= */

.auth-benefits {

    display: flex;

    flex-direction: column;

    gap: 18px;

    margin-top: 36px;

}


.auth-benefit {

    display: flex;

    align-items: center;

    gap: 13px;

}


.benefit-icon {

    width: 28px;

    height: 28px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(74, 214, 195, 0.16);

    border:
        1px solid rgba(121, 216, 207, 0.30);

    color: #79d8cf;

    font-size: 13px;

    font-weight: 800;

}


.auth-benefit strong {

    display: block;

    font-size: 14px;

    font-weight: 700;

}


.auth-benefit small {

    display: block;

    margin-top: 3px;

    color:
        rgba(255, 255, 255, 0.56);

    font-size: 12px;

}


/* =========================================================
   VISUAL FOOTER
   ========================================================= */

.auth-visual-footer {

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 12px;

}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.auth-form-section {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(23, 107, 99, 0.08),
            transparent 35%
        ),
        #f7faf9;

}


/* =========================================================
   CARD
   ========================================================= */

.auth-card {

    width: 100%;

    max-width: 460px;

    padding: 42px;

    box-sizing: border-box;

    background:
        rgba(255, 255, 255, 0.96);

    border:
        1px solid rgba(23, 107, 99, 0.08);

    border-radius: 26px;

    box-shadow:
        0 30px 80px rgba(21, 52, 48, 0.10),
        0 8px 25px rgba(21, 52, 48, 0.05);

}


/* =========================================================
   HEADER
   ========================================================= */

.auth-header {

    margin-bottom: 30px;

}


.auth-header .auth-eyebrow {

    display: inline-block;

    margin-bottom: 13px;

    color: var(--auth-primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.auth-header h1 {

    margin: 0;

    color: var(--auth-text);

    font-size: 36px;

    line-height: 1.1;

    letter-spacing: -1.2px;

    font-weight: 800;

}


.auth-header p {

    margin: 11px 0 0;

    color: var(--auth-muted);

    font-size: 14px;

    line-height: 1.6;

}


/* =========================================================
   FORM
   ========================================================= */

#loginForm,
#signupForm {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


/* =========================================================
   FIELD
   ========================================================= */

.auth-field {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.auth-field label {

    color: var(--auth-text);

    font-size: 13px;

    font-weight: 700;

}


.auth-field input {

    width: 100%;

    height: 54px;

    padding:
        0 15px;

    box-sizing: border-box;

    border:
        1px solid var(--auth-border);

    border-radius: 13px;

    outline: none;

    background: #fbfdfc;

    color: var(--auth-text);

    font-family: inherit;

    font-size: 14px;

    transition:
        0.2s ease;

}


.auth-field input::placeholder {

    color: #a1afac;

}


.auth-field input:hover {

    border-color: #c7d5d2;

    background: white;

}


.auth-field input:focus {

    border-color:
        var(--auth-primary);

    background: white;

    box-shadow:
        0 0 0 4px
        rgba(23, 107, 99, 0.09);

}


/* =========================================================
   PASSWORD
   ========================================================= */

.password-label-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.forgot-password {

    color:
        var(--auth-primary);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

}


.forgot-password:hover {

    text-decoration: underline;

}


.password-wrapper {

    position: relative;

}


.password-wrapper input {

    padding-right: 48px;

}


.password-toggle {

    position: absolute;

    top: 50%;

    right: 12px;

    transform: translateY(-50%);

    width: 34px;

    height: 34px;

    border: 0;

    background: transparent;

    cursor: pointer;

    opacity: 0.55;

}


.password-toggle:hover {

    opacity: 1;

}


/* =========================================================
   OPTIONS
   ========================================================= */

.auth-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: -4px;

}


.remember-option {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--auth-muted);

    font-size: 12px;

    cursor: pointer;

}


.remember-option input {

    width: 15px;

    height: 15px;

    accent-color:
        var(--auth-primary);

}


/* =========================================================
   MESSAGE
   ========================================================= */

.auth-message {

    min-height: 18px;

    margin: -6px 0 -5px;

    color: #c0392b;

    font-size: 12px;

    line-height: 1.5;

    text-align: center;

}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.auth-submit {

    width: 100%;

    height: 55px;

    border: 0;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--auth-primary),
            var(--auth-primary-dark)
        );

    color: white;

    font-family: inherit;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 12px 28px
        rgba(23, 107, 99, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;

}


.auth-submit:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 16px 34px
        rgba(23, 107, 99, 0.28);

}


.auth-submit:active {

    transform:
        translateY(0);

}


.auth-submit:disabled {

    opacity: 0.6;

    cursor: not-allowed;

    transform: none;

}


/* =========================================================
   DIVIDER
   ========================================================= */

.auth-divider {

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 28px 0 16px;

    color: #9aa8a5;

    font-size: 11px;

}


.auth-divider::before,
.auth-divider::after {

    content: "";

    flex: 1;

    height: 1px;

    background:
        #e8eeec;

}


/* =========================================================
   CREATE ACCOUNT
   ========================================================= */

.create-account-btn {

    width: 100%;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    border:
        1px solid #cbd9d6;

    border-radius: 13px;

    background: white;

    color: var(--auth-primary);

    font-size: 13px;

    font-weight: 750;

    text-decoration: none;

    transition:
        0.2s ease;

}


.create-account-btn:hover {

    border-color:
        var(--auth-primary);

    background:
        rgba(23, 107, 99, 0.04);

}


/* =========================================================
   MOBILE BRAND
   ========================================================= */

.auth-mobile-brand {

    display: none;

}


.auth-mobile-brand img {

    width: 62px;

    height: 62px;

    object-fit: contain;

}


/* =========================================================
   FOOTER
   ========================================================= */

.auth-footer {

    margin-top: 22px;

    color: #9aa8a5;

    font-size: 10px;

    line-height: 1.6;

    text-align: center;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .auth-layout {

        grid-template-columns: 1fr;

    }


    .auth-visual {

        display: none;

    }


    .auth-form-section {

        min-height: 100vh;

        padding: 25px 18px;

    }


    .auth-mobile-brand {

        display: flex;

        justify-content: center;

        margin-bottom: 22px;

    }


    .auth-card {

        max-width: 480px;

        padding: 34px 26px;

    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .auth-form-section {

        padding: 15px;

    }


    .auth-card {

        padding: 30px 20px;

        border-radius: 21px;

        box-shadow:
            0 18px 50px
            rgba(21, 52, 48, 0.08);

    }


    .auth-header h1 {

        font-size: 30px;

    }


    .auth-field input {

        height: 52px;

    }


    .auth-submit {

        height: 53px;

    }

}


/* =====================================================
   SOT TRAVELS AUTH LAYOUT
===================================================== */

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 52% 48%;
    background: #f4f8f7;
}


/* =====================================================
   LEFT VISUAL
===================================================== */

.auth-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background-image:
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2000&q=80");

    background-size: cover;
    background-position: center;
}


.auth-visual-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(5, 35, 34, 0.94),
            rgba(5, 45, 44, 0.78),
            rgba(5, 35, 34, 0.82)
        );
}


.auth-visual-content {
    position: relative;
    z-index: 2;

    height: 100%;
    min-height: 100vh;

    padding: 58px 8%;
    color: #fff;

    display: flex;
    flex-direction: column;
}


/* =====================================================
   BRAND
===================================================== */

.auth-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}


.auth-brand-logo {
    width: 72px;
    height: 72px;

    background: #fff;
    border-radius: 18px;

    padding: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.20);
}


.auth-brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.auth-brand h2 {
    margin: 0;

    font-size: 26px;
    font-weight: 800;

    letter-spacing: 2px;
}


.auth-brand p {
    margin: 5px 0 0;

    font-size: 14px;

    color: rgba(255, 255, 255, 0.68);
}


/* =====================================================
   MAIN VISUAL CONTENT
===================================================== */

.auth-visual-main {
    margin-top: 0px;
    margin-bottom: auto;

    max-width: 650px;
}


.auth-pill {
    display: inline-flex;

    padding: 9px 17px;

    border-radius: 999px;

    border: 1px solid
        rgba(121, 216, 207, 0.35);

    background:
        rgba(255, 255, 255, 0.08);

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.auth-visual-main h1 {
    margin: 28px 0 18px;

    font-size: clamp(48px, 5vw, 72px);

    line-height: 0.98;

    font-weight: 850;

    color: #ffffff;
}


.auth-visual-main h1 span {
    color: #79d8cf;
}


.auth-visual-main > p {
    max-width: 590px;

    margin: 0 0 38px;

    font-size: 17px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.78);
}


/* =====================================================
   FEATURES
===================================================== */

.auth-features {
    display: flex;
    flex-direction: column;

    gap: 22px;
}


.auth-feature {
    display: flex;
    align-items: center;

    gap: 14px;
}


.auth-feature-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #79d8cf;

    border: 1px solid
        rgba(121, 216, 207, 0.35);

    background:
        rgba(121, 216, 207, 0.08);

    font-weight: 800;
}


.auth-feature strong {
    display: block;

    margin-bottom: 4px;

    font-size: 15px;

    color: #fff;
}


.auth-feature span {
    display: block;

    font-size: 13px;

    color: rgba(255, 255, 255, 0.58);
}


.auth-tagline {
    margin-top: 30px !important;

    font-size: 13px !important;

    color: rgba(255, 255, 255, 0.45) !important;
}


/* =====================================================
   RIGHT FORM SECTION
===================================================== */

.auth-form-section {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;
}


.auth-card {
    width: 100%;
    max-width: 520px;

    padding: 46px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid
        rgba(15, 94, 87, 0.08);

    border-radius: 28px;

    box-shadow:
        0 25px 70px rgba(15, 52, 50, 0.12);
}


/* =====================================================
   HEADER
===================================================== */

.auth-eyebrow {
    display: block;

    margin-bottom: 16px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #116c65;
}


.auth-header h1 {
    margin: 0 0 12px;

    font-size: 38px;

    line-height: 1.1;

    color: #092f2d;
}


.auth-header p {
    margin: 0 0 30px;

    color: #657775;

    font-size: 15px;

    line-height: 1.6;
}


/* =====================================================
   FORM
===================================================== */

.auth-field {
    margin-bottom: 20px;
}


.auth-field label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 700;

    color: #102f2d;
}


.auth-field input {
    width: 100%;

    height: 58px;

    padding: 0 17px;

    box-sizing: border-box;

    border: 1px solid #d8e4e2;

    border-radius: 14px;

    outline: none;

    background: #fbfdfd;

    color: #153431;

    font-size: 15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.auth-field input::placeholder {
    color: #9aabaa;
}


.auth-field input:focus {
    border-color: #16786f;

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(22, 120, 111, 0.09);
}


/* =====================================================
   MESSAGE
===================================================== */

.auth-message {
    min-height: 20px;

    margin: 5px 0 12px;

    font-size: 13px;

    color: #c0392b;
}


/* =====================================================
   BUTTON
===================================================== */

.auth-submit {
    width: 100%;

    height: 58px;

    border: none;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #16786f,
            #0c625b
        );

    color: #fff;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 12px 25px rgba(12, 98, 91, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.auth-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(12, 98, 91, 0.26);
}


.auth-submit:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* =====================================================
   FOOTER
===================================================== */

.auth-footer {
    display: flex;

    justify-content: center;

    gap: 5px;

    margin-top: 25px;

    font-size: 13px;

    color: #758684;
}


.auth-footer a {
    color: #116c65;

    font-weight: 700;

    text-decoration: none;
}


.auth-footer a:hover {
    text-decoration: underline;
}


.auth-legal {
    margin: 24px 0 0;

    text-align: center;

    font-size: 11px;

    color: #9aa8a6;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .auth-page {
        grid-template-columns: 1fr;
    }


    .auth-visual {
        min-height: 430px;
    }


    .auth-visual-content {
        min-height: 430px;

        padding: 40px 7%;
    }


    /* .auth-visual-main {
        margin-top: 60px;
        margin-bottom: 20px;
    } */


    .auth-visual-main h1 {
        font-size: 52px;
    }


    .auth-form-section {
        min-height: auto;

        padding: 40px 20px;
    }

}


@media (max-width: 600px) {

    .auth-visual {
        min-height: 360px;
    }


    .auth-visual-content {
        min-height: 360px;

        padding: 28px 24px;
    }


    .auth-brand-logo {
        width: 55px;
        height: 55px;
    }


    .auth-brand h2 {
        font-size: 20px;
    }


    .auth-visual-main {
        margin-top: 35px;
    }


    .auth-visual-main h1 {
        font-size: 42px;
    }


    .auth-visual-main > p {
        font-size: 14px;
    }


    .auth-features {
        display: none;
    }


    .auth-card {
        padding: 30px 22px;

        border-radius: 22px;
    }


    .auth-header h1 {
        font-size: 31px;
    }

}


/* =====================================================
   AUTH PAGE LOGO FIX
===================================================== */

/* Desktop Login Page Logo */
.auth-brand-logo {
    width: 130px;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    background: transparent;
    border-radius: 0;
    padding: 0;

    flex-shrink: 0;
}


.auth-brand-logo img {
    width: 130px;
    height: auto;

    max-width: none;
    object-fit: contain;

    display: block;

    /* Dark background ke liye logo white */
    filter: brightness(0) invert(1)
            drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}


.auth-brand h2 {
    color: #ffffff;
}

.auth-brand p {
    color: rgba(255, 255, 255, 0.7);
}