/* =========================================
   uMeetMe Login
========================================= */

.login-page {
    min-height: calc(100vh - 70px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 3rem 1.5rem;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37, 99, 235, .09),
            transparent 30%
        ),
        #f8fafc;
}


.login-shell {
    width: 100%;
    max-width: 1120px;

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    overflow: hidden;

    border:
        1px solid #e2e8f0;

    border-radius: 30px;

    background: white;

    box-shadow:
        0 30px 80px
        rgba(15, 23, 42, .10);
}


/* =========================================
   Brand Panel
========================================= */

.login-brand-panel {
    min-height: 680px;

    display: flex;
    flex-direction: column;

    padding: 3rem;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255,255,255,.15),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #1d4ed8,
            #2563eb 45%,
            #0ea5e9
        );

    color: white;
}


.login-brand {
    display: flex;
    align-items: center;

    gap: .75rem;

    font-size: 1.35rem;
    font-weight: 800;
}


.login-brand-mark {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255,255,255,.16);

    color: white;

    font-size: 1.15rem;
}


.login-brand-mark.small {
    width: 38px;
    height: 38px;

    border-radius: 12px;

    background: #2563eb;
}


.login-brand-content {
    margin:
        auto 0;
}


.login-eyebrow {
    display: block;

    margin-bottom: .65rem;

    font-size: .78rem;
    font-weight: 800;

    letter-spacing: .09em;

    text-transform: uppercase;
}


.login-brand-content .login-eyebrow {
    color:
        rgba(255,255,255,.75);
}


.login-brand-content h1 {
    max-width: 520px;

    margin: 0;

    font-size:
        clamp(2.4rem, 5vw, 4rem);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -.045em;
}


.login-brand-content > p {
    max-width: 500px;

    margin:
        1.25rem 0 2.25rem;

    color:
        rgba(255,255,255,.82);

    font-size: 1.05rem;

    line-height: 1.7;
}


.login-benefits {
    display: grid;

    gap: 1rem;
}


.login-benefit {
    display: flex;
    align-items: center;

    gap: .9rem;
}


.login-benefit-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        rgba(255,255,255,.15);
}


.login-benefit strong,
.login-benefit span {
    display: block;
}


.login-benefit strong {
    font-size: .95rem;
}


.login-benefit span {
    margin-top: .15rem;

    color:
        rgba(255,255,255,.72);

    font-size: .82rem;
}


.login-brand-footer {
    display: flex;
    align-items: center;

    gap: .5rem;

    color:
        rgba(255,255,255,.7);

    font-size: .82rem;
}


/* =========================================
   Form Panel
========================================= */

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        3rem 3.5rem;
}


.login-form-wrapper {
    width: 100%;
    max-width: 430px;
}


.login-mobile-brand {
    display: none;

    align-items: center;

    gap: .7rem;

    margin-bottom: 2.5rem;

    color: #0f172a;

    font-size: 1.25rem;
    font-weight: 800;
}


.login-heading h2 {
    margin: 0;

    color: #0f172a;

    font-size: 2rem;

    font-weight: 800;

    letter-spacing: -.035em;
}


.login-heading .login-eyebrow {
    color: #2563eb;
}


.login-heading p {
    margin:
        .7rem 0 0;

    color: #64748b;

    line-height: 1.6;
}


/* =========================================
   Form
========================================= */

.login-form {
    margin-top: 2rem;
}


.login-field {
    margin-bottom: 1.25rem;
}


.login-field label {
    display: block;

    margin-bottom: .45rem;

    color: #334155;

    font-size: .88rem;
    font-weight: 700;
}


.login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;
}


.login-label-row a {
    margin-bottom: .45rem;

    color: #2563eb;

    text-decoration: none;

    font-size: .82rem;
    font-weight: 650;
}


.login-input-wrapper {
    position: relative;
}


.login-input-wrapper > i {
    position: absolute;

    top: 50%;
    left: 15px;

    transform:
        translateY(-50%);

    color: #94a3b8;

    z-index: 2;
}


.login-input-wrapper .form-control {
    height: 52px;

    padding:
        .7rem 44px;

    border:
        1px solid #cbd5e1;

    border-radius: 13px;

    background: #fff;

    box-shadow: none;
}


.login-input-wrapper .form-control:focus {
    border-color: #60a5fa;

    box-shadow:
        0 0 0 4px
        rgba(37,99,235,.09);
}


.password-toggle {
    position: absolute;

    top: 50%;
    right: 12px;

    transform:
        translateY(-50%);

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 9px;

    background: transparent;

    color: #64748b;
}


.password-toggle:hover {
    background: #f1f5f9;
}


.login-field-error {
    display: block;

    margin-top: .4rem;

    font-size: .8rem;
}


.login-validation-summary {
    margin-bottom: 1rem;

    color: #b91c1c;

    font-size: .86rem;
}


.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin:
        .25rem 0 1.5rem;
}


.login-remember {
    display: flex;
    align-items: center;

    gap: .5rem;

    color: #475569;

    font-size: .87rem;

    cursor: pointer;
}


.login-submit-button {
    width: 100%;

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: .65rem;

    border: 0;

    border-radius: 13px;

    background: #2563eb;

    color: white;

    font-weight: 750;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.login-submit-button:hover {
    background: #1d4ed8;

    transform:
        translateY(-1px);

    box-shadow:
        0 10px 25px
        rgba(37,99,235,.22);
}


.login-register {
    margin-top: 1.4rem;

    text-align: center;

    color: #64748b;

    font-size: .88rem;
}


.login-register a {
    margin-left: .25rem;

    color: #2563eb;

    text-decoration: none;

    font-weight: 700;
}


/* =========================================
   External Login
========================================= */

.login-divider {
    position: relative;

    margin:
        1.8rem 0;

    text-align: center;
}


.login-divider::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;
    right: 0;

    border-top:
        1px solid #e2e8f0;
}


.login-divider span {
    position: relative;

    padding:
        0 .8rem;

    background: white;

    color: #94a3b8;

    font-size: .78rem;
}


.external-login-list {
    display: grid;

    gap: .75rem;
}


.external-login-button {
    width: 100%;

    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: .6rem;

    border:
        1px solid #cbd5e1;

    border-radius: 12px;

    background: white;

    color: #334155;

    font-weight: 650;
}


.external-login-button:hover {
    background: #f8fafc;
}


.login-help {
    margin-top: 1.5rem;

    text-align: center;
}


.login-help a {
    color: #64748b;

    text-decoration: none;

    font-size: .8rem;
}


.login-help a:hover {
    color: #2563eb;
}


/* =========================================
   Responsive
========================================= */

@media (max-width: 850px) {

    .login-page {
        padding:
            1.5rem 1rem;
    }


    .login-shell {
        display: block;

        max-width: 560px;

        border-radius: 24px;
    }


    .login-brand-panel {
        display: none;
    }


    .login-form-panel {
        padding:
            2.5rem 1.5rem;
    }


    .login-mobile-brand {
        display: flex;
    }

}


@media (max-width: 480px) {

    .login-page {
        align-items:
            flex-start;

        padding:
            1rem;
    }


    .login-shell {
        border-radius: 20px;
    }


    .login-form-panel {
        padding:
            2rem 1.15rem;
    }


    .login-heading h2 {
        font-size: 1.7rem;
    }

}