﻿:root {
    --brand-navy: linear-gradient(to right, #872341, #d1283f); /* right panel bg */
    --brand-green: #1565c0; /* primary action */
    --brand-green-hover: #3e9140;
    --muted: #6b7b87;
    --white: #ffffff;
    --offwhite: #f6f7fb;
    --bullet: #cfd7df;
    --border: #dfe6ec;
    --radius-lg: 18px;
}

* {
    box-sizing: border-box
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    background: var(--offwhite);
    color: #1b2a34;
    min-height: 100svh;
}

/* ---- Layout ---- */
.auth-shell {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width:992px) {
    .auth-shell {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* ---- Left panel ---- */
.info-panel {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px clamp(20px,5vw,56px);
    border-right: 1px solid var(--border);
}

.info-hero {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.illus {
    width: clamp(240px,60%,460px);
    margin: 12px auto 24px;
    display: block;
}

.info-title {
    font-size: clamp(28px,2.8vw,40px);
    font-weight: 800;
    margin-bottom: 10px;
}

.info-text {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(14px,1.2vw,16px);
    line-height: 1.6;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    user-select: none;
}

    .pager .arrow {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        border: 1px solid var(--border);
        color: #5b6a75;
        cursor: pointer;
        transition: .15s ease-in-out;
        background: #fff;
    }

        .pager .arrow:hover {
            transform: translateY(-1px);
        }

    .pager .dots {
        display: flex;
        gap: 8px;
    }

    .pager .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--bullet);
    }

        .pager .dot.active {
            background: #707a84;
        }

.info-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px dashed var(--border);
    padding-top: 16px;
    color: #872341;
    font-size: 13px;
}

.powered {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-badge {
    height: 22px;
    width: auto;
    display: inline-block;
}

/* ---- Right panel ---- */
.form-panel {
    background: var(--brand-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 64px);
}

.form-card {
    width: min(560px,100%);
}

.brand-title {
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .75;
    margin-bottom: 12px;
}

.form-label {
    font-weight: 600;
    color: #cfe1ec;
}

.form-control {
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #eef7ff;
}

    .form-control::placeholder {
        color: #adc2cf;
    }

    .form-control:focus {
        border-color: rgba(255,255,255,.45);
        background: rgba(255,255,255,.1);
        color: #fff;
        box-shadow: 0 0 0 .2rem rgba(255,255,255,.12);
    }

.password-wrap {
    position: relative;
}

.toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    /* transform:translateY(-50%); */
    border: 0;
    background: transparent;
    color: #cfe1ec;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
}

    .toggle-eye:hover {
        background: rgba(255,255,255,.08);
    }

.terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #d7e7f1;
    font-size: 14px;
    margin-top: 6px;
}

    .terms a {
        color: #ffb3b3;
        text-decoration: underline;
    }

.btn-login, .btn-signup {
    width: 220px;
    max-width: 100%;
    padding: 12px 20px;
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: .04em;
    background: var(--brand-green);
    transition: .15s ease-in-out;
    border: 1px solid #fff;
}

    .btn-login:hover, .btn-signup:hover {
        background: var(--brand-navy);
        transform: translateY(-1px);
        border: 1px solid #fff;
    }

.forgot {
    margin-top: 18px;
    color: #d4e6f0;
    font-size: 15px;
}

    .forgot a {
        color: #bfe2ff;
    }

.divider-ghost {
    height: 6vh;
}

/* Tabs */
.auth-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    width: max-content;
    padding: 6px;
    margin-bottom: 18px;
}

.auth-tab {
    border: 0;
    background: transparent;
    color: #cfe1ec;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

    .auth-tab.active {
        background: #fff;
        color: #0f3d55;
    }

/* Phone row */
.phone-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
}

@media (max-width:575.98px) {
    .phone-row {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp row */
.wa-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4f5df;
}

.wa-icon {
    width: 22px;
    height: 22px;
}

.slider-img {
    width: 100%;
    max-width: 400px;
}
