﻿.lens-auth-page {
    min-height: 100vh;
    color: #10213c;
    background: linear-gradient(145deg,#f8fbff,#edf6ff);
    font-family: Inter,"Segoe UI",Arial,sans-serif;
}

.lens-auth-shell {
    width: min(1080px,calc(100% - 32px));
    min-height: 720px;
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 54px;
}

.lens-auth-brand img {
    width: 210px;
    max-width: 70%;
    object-fit: contain;
}

.lens-auth-eyebrow {
    display: block;
    margin-top: 30px;
    color: #087de1;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .14em;
}

.lens-auth-brand h1 {
    margin: 10px 0 12px;
    color: #071d3d;
    font-size: clamp(2.2rem,4vw,3.5rem);
}

.lens-auth-brand p {
    color: #5e718b;
    font-size: 1rem;
    line-height: 1.72;
}

.lens-auth-card {
    padding: 36px;
    border: 1px solid #dbe8f5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(21,78,130,.13);
}

.lens-auth-card-heading span {
    color: #0887ed;
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .15em;
}

.lens-auth-card-heading h2 {
    margin: 7px 0 25px;
    color: #071d3d;
    font-size: 1.65rem;
}

.lens-auth-card label:not(.remember):not(.terms) {
    display: block;
    margin: 16px 0 7px;
    color: #243d5d;
    font-size: .78rem;
    font-weight: 750;
}

.lens-auth-card input:not([type=checkbox]) {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    color: #10213c;
    font: inherit;
    border: 1px solid #cddceb;
    border-radius: 10px;
    outline: none;
    background: #fff;
}

.lens-auth-card input:focus {
    border-color: #158ce8;
    box-shadow: 0 0 0 3px rgba(21,140,232,.11);
}

.password-field {
    display: flex;
    align-items: center;
    border: 1px solid #cddceb;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.password-field:focus-within {
    border-color: #158ce8;
    box-shadow: 0 0 0 3px rgba(21,140,232,.11);
}

.password-field input {
    border: 0 !important;
    box-shadow: none !important;
}

.password-field button {
    padding: 0 14px;
    color: #0a7edb;
    font-weight: 750;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.auth-row {
    margin: 15px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #61758e;
    font-size: .76rem;
}

.remember,
.terms {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #61758e;
    font-size: .76rem;
    line-height: 1.4;
}

.remember input,
.terms input {
    width: 16px;
    height: 16px;
}

.terms {
    margin: 18px 0;
    align-items: flex-start;
}

.auth-row a,
.auth-switch a {
    color: #087fdf;
    font-weight: 750;
    text-decoration: none;
}

.auth-primary {
    width: 100%;
    min-height: 50px;
    color: #fff;
    font: inherit;
    font-weight: 800;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    background: linear-gradient(135deg,#0579e1,#16a4f5);
    box-shadow: 0 10px 24px rgba(5,121,225,.20);
}

.auth-divider {
    margin: 24px 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8697aa;
    font-size: .72rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e1eaf3;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-button {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #253b57;
    font-size: .79rem;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid #d6e2ed;
    border-radius: 10px;
    background: #fff;
}

.social-button.disabled {
    opacity: .55;
    cursor: not-allowed;
}

.google-mark {
    color: #4285f4;
    font-size: 1rem;
    font-weight: 900;
}

.microsoft-mark {
    width: 16px;
    height: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.microsoft-mark i:nth-child(1) { background: #f25022; }
.microsoft-mark i:nth-child(2) { background: #7fba00; }
.microsoft-mark i:nth-child(3) { background: #00a4ef; }
.microsoft-mark i:nth-child(4) { background: #ffb900; }

.auth-switch {
    margin: 23px 0 0;
    text-align: center;
    color: #687b91;
    font-size: .78rem;
}

.auth-error,
.auth-success {
    margin-bottom: 16px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: .78rem;
}

.auth-error {
    color: #9e2d34;
    background: #fff0f1;
    border: 1px solid #f4ced1;
}

.auth-success {
    color: #187546;
    background: #edf9f2;
    border: 1px solid #cbead9;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.field-help {
    display: block;
    margin-top: 5px;
    color: #8293a7;
    font-size: .68rem;
}

.auth-benefits {
    margin-top: 24px;
    display: grid;
    gap: 9px;
    color: #35516f;
    font-size: .8rem;
}

.auth-benefits span::before {
    content: "✓";
    margin-right: 9px;
    color: #0a91e7;
    font-weight: 900;
}

@media (max-width: 780px) {
    .lens-auth-shell {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 25px 0;
    }

    .lens-auth-brand {
        padding: 10px 8px;
    }

    .lens-auth-brand img {
        width: 180px;
    }

    .lens-auth-card {
        padding: 25px 20px;
    }

    .auth-grid,
    .social-auth {
        grid-template-columns: 1fr;
    }

    .auth-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
