
/* ==========================================
   VERINSIGHT — LOGIN PAGE
   ========================================== */

.veri-login-page {

    --login-navy: #101a31;
    --login-navy-deep: #0b1224;

    --login-blue: #2563eb;
    --login-purple: #7c3aed;

    --login-text: #111827;
    --login-muted: #64748b;
    --login-border: #e2e8f0;

    --login-gradient: linear-gradient(
        135deg,
        var(--login-blue),
        var(--login-purple)
    );

    margin: 0;
    min-height: 100vh;

    font-family: "Figtree", sans-serif;

    background: #ffffff;

    color: var(--login-text);

    -webkit-font-smoothing: antialiased;

}

.veri-login-page *,
.veri-login-page *::before,
.veri-login-page *::after {

    box-sizing: border-box;

}


/* ==========================================
   MAIN LAYOUT
   ========================================== */

.veri-login-layout {

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    min-height: 100vh;

}


/* ==========================================
   LEFT BRAND PANEL
   ========================================== */

.veri-login-brand {

    position: relative;

    display: flex;

    min-height: 100vh;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(124, 58, 237, 0.20),
            transparent 40%
        ),
        radial-gradient(
            circle at 10% 85%,
            rgba(37, 99, 235, 0.18),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            var(--login-navy),
            var(--login-navy-deep)
        );

    color: #ffffff;

}


/* Decorative background glows */

.veri-brand-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(75px);

}

.veri-brand-glow-one {

    width: 360px;
    height: 360px;

    top: -120px;
    right: -150px;

    background: rgba(124, 58, 237, 0.18);

}

.veri-brand-glow-two {

    width: 420px;
    height: 420px;

    bottom: -200px;
    left: -180px;

    background: rgba(37, 99, 235, 0.15);

}


/* Brand content */

.veri-brand-content {

    position: relative;

    z-index: 1;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    width: 100%;

    max-width: 760px;

    min-height: 100vh;

    margin: 0 auto;

    padding: 55px clamp(35px, 5vw, 90px);

}


/* Logo */

.veri-brand-header {

    display: flex;

    align-items: center;

}

.veri-brand-logo {

    display: block;

    width: min(100%, 290px);

    height: auto;

    object-fit: contain;

    /*
       The supplied logo has dark lettering.

       Brightness makes the lettering white while
       retaining a clean silhouette on the navy panel.
    */

    filter: brightness(0) invert(1);

}


/* Main brand message */

.veri-brand-message {

    max-width: 570px;

    padding: 55px 0;

}

.veri-brand-eyebrow {

    display: inline-block;

    margin-bottom: 28px;

    font-size: 0.76rem;

    font-weight: 800;

    letter-spacing: 0.18em;

    color: #a5b4fc;

}

.veri-brand-message h1 {

    margin: 0 0 25px;

    font-size: clamp(2.7rem, 4.1vw, 4.8rem);

    font-weight: 900;

    line-height: 1.08;

    letter-spacing: -0.055em;

    color: #ffffff;

}

.veri-brand-message h1 span {

    display: block;

    margin-top: 8px;

    background: linear-gradient(
        110deg,
        #60a5fa,
        #a78bfa
    );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}

.veri-brand-message > p {

    max-width: 480px;

    margin: 0;

    font-size: 1.1rem;

    font-weight: 400;

    line-height: 1.8;

    color: #b9c5d8;

}


/* Divider */

.veri-brand-divider {

    width: 65px;

    height: 3px;

    margin: 38px 0;

    border-radius: 100px;

    background: var(--login-gradient);

}


/* Feature */

.veri-brand-feature {

    display: flex;

    align-items: center;

    gap: 16px;

}

.veri-feature-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 52px;

    height: 52px;

    border: 1px solid rgba(165, 180, 252, 0.22);

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.06);

    color: #a5b4fc;

}

.veri-feature-icon svg {

    width: 25px;

    height: 25px;

}

.veri-feature-text {

    display: flex;

    flex-direction: column;

    gap: 5px;

}

.veri-feature-text strong {

    font-size: 0.96rem;

    font-weight: 800;

    color: #ffffff;

}

.veri-feature-text span {

    font-size: 0.88rem;

    color: #94a3b8;

}


/* Brand footer */

.veri-brand-footer {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 0.82rem;

    font-weight: 500;

    color: #94a3b8;

}

.veri-footer-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #8b5cf6;

    box-shadow: 0 0 14px rgba(139, 92, 246, 0.65);

}


/* ==========================================
   RIGHT LOGIN PANEL
   ========================================== */

.veri-login-panel {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-width: 0;

    min-height: 100vh;

    padding: 80px 35px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(124, 58, 237, 0.035),
            transparent 45%
        ),
        #ffffff;

}

.veri-login-panel-inner {

    width: 100%;

    max-width: 420px;

    margin: auto 0;

}


/* Mobile logo hidden on desktop */

.veri-mobile-logo {

    display: none;

}


/* ==========================================
   LOGIN HEADING
   ========================================== */

.veri-login-heading {

    margin-bottom: 40px;

}

.veri-login-eyebrow {

    display: inline-block;

    margin-bottom: 14px;

    font-size: 0.76rem;

    font-weight: 800;

    letter-spacing: 0.14em;

    color: var(--login-purple);

}

.veri-login-heading h2 {

    margin: 0 0 13px;

    font-size: clamp(2rem, 3vw, 2.65rem);

    font-weight: 900;

    line-height: 1.15;

    letter-spacing: -0.045em;

    color: var(--login-text);

}

.veri-login-heading p {

    margin: 0;

    font-size: 0.98rem;

    line-height: 1.7;

    color: var(--login-muted);

}


/* ==========================================
   FORM
   ========================================== */

.veri-login-form {

    display: flex;

    flex-direction: column;

    gap: 24px;

}

.veri-form-group {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.veri-form-group label {

    font-size: 0.9rem;

    font-weight: 800;

    color: #334155;

}

.veri-label-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* Input wrapper */

.veri-input-wrapper {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

}

.veri-input-wrapper input {

    width: 100%;

    height: 58px;

    padding: 0 52px;

    border: 1.5px solid var(--login-border);

    border-radius: 14px;

    outline: none;

    background: #f8fafc;

    color: var(--login-text);

    font-family: inherit;

    font-size: 0.95rem;

    font-weight: 600;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}

.veri-input-wrapper input::placeholder {

    color: #94a3b8;

    font-weight: 400;

}

.veri-input-wrapper input:hover {

    border-color: #cbd5e1;

}

.veri-input-wrapper input:focus {

    border-color: var(--login-blue);

    background: #ffffff;

    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.09);

}


/* Input icons */

.veri-input-icon {

    position: absolute;

    left: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 20px;

    height: 20px;

    color: #94a3b8;

    pointer-events: none;

    transition: color 0.2s ease;

}

.veri-input-icon svg {

    width: 20px;

    height: 20px;

}

.veri-input-wrapper:focus-within .veri-input-icon {

    color: var(--login-blue);

}


/* Password toggle */

.veri-password-toggle {

    position: absolute;

    right: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 36px;

    height: 36px;

    padding: 8px;

    border: none;

    border-radius: 9px;

    background: transparent;

    color: #94a3b8;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;

}

.veri-password-toggle svg {

    width: 20px;

    height: 20px;

}

.veri-password-toggle:hover {

    color: var(--login-blue);

    background: #eff6ff;

}

.veri-password-toggle:focus-visible {

    outline: 2px solid var(--login-blue);

    outline-offset: 2px;

}


/* ==========================================
   SUBMIT BUTTON
   ========================================== */

.veri-login-submit {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    width: 100%;

    height: 58px;

    margin-top: 8px;

    padding: 0 24px;

    border: none;

    border-radius: 14px;

    background: var(--login-gradient);

    color: #ffffff;

    font-family: inherit;

    font-size: 1rem;

    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;

}

.veri-login-submit svg {

    width: 19px;

    height: 19px;

    transition: transform 0.2s ease;

}

.veri-login-submit:hover:not(:disabled) {

    transform: translateY(-2px);

    box-shadow: 0 17px 35px rgba(79, 70, 229, 0.28);

}

.veri-login-submit:hover:not(:disabled) svg {

    transform: translateX(4px);

}

.veri-login-submit:active:not(:disabled) {

    transform: translateY(0);

}

.veri-login-submit:focus-visible {

    outline: 3px solid #93c5fd;

    outline-offset: 4px;

}

.veri-login-submit:disabled {

    opacity: 0.75;

    cursor: wait;

    transform: none;

}

.veri-login-submit.is-loading svg {

    display: none;

}


/* ==========================================
   BOTTOM MESSAGE
   ========================================== */

.veri-login-bottom {

    margin-top: 36px;

    padding-top: 28px;

    border-top: 1px solid #f1f5f9;

}

.veri-secure-message {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    font-size: 0.82rem;

    font-weight: 600;

    color: #94a3b8;

}

.veri-secure-message svg {

    width: 17px;

    height: 17px;

    color: #64748b;

}


/* Copyright */

.veri-login-copyright {

    width: 100%;

    margin-top: 40px;

    text-align: center;

    font-size: 0.76rem;

    line-height: 1.6;

    color: #94a3b8;

}


/* ==========================================
   RESPONSIVE — TABLETS
   ========================================== */

@media (max-width: 1100px) {

    .veri-login-layout {

        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);

    }

    .veri-brand-content {

        padding: 45px 35px;

    }

    .veri-brand-message h1 {

        font-size: clamp(2.5rem, 4vw, 3.5rem);

    }

    .veri-login-panel {

        padding: 60px 30px;

    }

}


/* ==========================================
   RESPONSIVE — MOBILE
   ========================================== */

@media (max-width: 760px) {

    .veri-login-layout {

        display: block;

        min-height: 100vh;

    }

    .veri-login-brand {

        display: none;

    }

    .veri-login-panel {

        min-height: 100vh;

        padding: 45px 24px 25px;

    }

    .veri-login-panel-inner {

        max-width: 440px;

    }

    .veri-mobile-logo {

        display: block;

        margin-bottom: 55px;

    }

    .veri-mobile-logo img {

        display: block;

        width: 230px;

        max-width: 100%;

        height: auto;

    }

    .veri-login-heading {

        margin-bottom: 35px;

    }

    .veri-login-heading h2 {

        font-size: 2.1rem;

    }

    .veri-login-copyright {

        margin-top: 60px;

    }

}


/* ==========================================
   SMALL PHONES
   ========================================== */

@media (max-width: 380px) {

    .veri-login-panel {

        padding: 30px 18px 20px;

    }

    .veri-login-heading h2 {

        font-size: 1.85rem;

    }

    .veri-input-wrapper input {

        height: 54px;

    }

    .veri-login-submit {

        height: 54px;

    }

}


/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .veri-login-page *,
    .veri-login-page *::before,
    .veri-login-page *::after {

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

    }

}