:root {
    --lp-pink: #be185d;
    --lp-coral: #db2777;
    --lp-dark: #111827;
    --lp-muted: #6b7280;
    --lp-soft: #fdf2f8;
    --lp-border: rgba(17, 24, 39, 0.08);
    --lp-border-pink: rgba(190, 24, 93, 0.14);
    --lp-shadow: 0 24px 70px rgba(17, 24, 39, 0.10);
    --lp-shadow-soft: 0 14px 36px rgba(17, 24, 39, 0.07);
}

html,
body {
    background:
        radial-gradient(circle at 8% 0%, rgba(190, 24, 93, 0.11), transparent 34%),
        radial-gradient(circle at 92% 0%, rgba(219, 39, 119, 0.10), transparent 32%),
        linear-gradient(180deg, #fdf2f8 0%, #ffffff 46%, #ffffff 100%) !important;
}

.login-page {
    min-height: 100vh;
    color: var(--lp-dark);
    background: transparent !important;
}

.login-shell,
.login-hero,
.login-workspace,
.login-card,
.login-info-card,
.login-preview-card {
    box-sizing: border-box;
}

.login-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 20px 42px;
}

.login-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: stretch;
    border-radius: 34px;
    padding: 34px;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,255,255,0.24), transparent 28%),
        radial-gradient(circle at 100% 10%, rgba(255,255,255,0.16), transparent 34%),
        linear-gradient(135deg, var(--lp-pink), var(--lp-coral));
    color: #fff;
    box-shadow: 0 28px 70px rgba(190,24,93,0.24);
    isolation: isolate;
}

.login-hero::before,
.login-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.login-hero::before {
    width: 520px;
    height: 520px;
    right: -160px;
    top: -230px;
    background: rgba(255,255,255,0.13);
    filter: blur(72px);
}

.login-hero::after {
    width: 420px;
    height: 420px;
    left: -150px;
    bottom: -260px;
    background: rgba(255,255,255,0.08);
    filter: blur(62px);
}

.login-hero-copy,
.login-preview-card {
    position: relative;
    z-index: 2;
}

.login-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
}

.login-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.login-kicker {
    width: fit-content;
    margin: 0 0 14px;
    color: #fff;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.20);
}

.login-kicker::before {
    content: "\f2f6";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.section-kicker {
    width: fit-content;
    margin: 0 0 7px;
    color: var(--lp-pink);
    background: #fce7f3;
    border: 1px solid rgba(190,24,93,0.12);
}

.login-hero h1 {
    max-width: 830px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.login-subtitle {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,0.92);
    font-size: 1.04rem;
    line-height: 1.75;
    font-weight: 650;
}

.login-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 999px;
    padding: 10px 13px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.20);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 850;
    backdrop-filter: blur(14px);
}

.login-preview-card {
    min-height: 240px;
    border-radius: 30px;
    padding: 22px;
    background: rgba(255,255,255,0.17);
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow: 0 22px 50px rgba(0,0,0,0.12);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.login-preview-card::before {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -92px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    filter: blur(14px);
}

.preview-top {
    display: flex;
    gap: 7px;
    margin-bottom: 22px;
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.46);
}

.preview-avatar {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font-size: 1.55rem;
    margin-bottom: 17px;
}

.login-preview-card h2,
.login-preview-card p,
.preview-mini-grid {
    position: relative;
    z-index: 1;
}

.login-preview-card h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.62rem;
    letter-spacing: -0.04em;
}

.login-preview-card p {
    margin: 0;
    color: rgba(255,255,255,0.86);
    line-height: 1.65;
    font-weight: 650;
}

.preview-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
}

.preview-mini-grid span {
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 16px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    font-weight: 850;
    font-size: 0.9rem;
}

.login-workspace {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 560px);
    gap: 18px;
    align-items: stretch;
    margin-top: 0;
    border-radius: 34px;
    padding: 24px;
    border: 1px solid rgba(190, 24, 93, 0.10);
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(18px);
    box-shadow: var(--lp-shadow-soft);
}

.login-info-card {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    top: auto;
    border-radius: 30px;
    padding: 22px;
    background:
        radial-gradient(circle at 0% 0%, rgba(190,24,93,0.10), transparent 36%),
        linear-gradient(135deg, #fff, #fdf2f8);
    border: 1px solid rgba(190, 24, 93, 0.13);
    box-shadow: 0 14px 34px rgba(17,24,39,0.055);
}

.info-card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-pink), var(--lp-coral));
    box-shadow: 0 16px 30px rgba(190,24,93,0.20);
    font-size: 1.18rem;
    margin-bottom: 16px;
}

.login-info-card > span {
    display: inline-flex;
    color: var(--lp-pink);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.login-info-card h2 {
    margin: 0 0 10px;
    color: var(--lp-dark);
    font-size: 1.55rem;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.login-info-card p {
    margin: 0;
    color: var(--lp-muted);
    line-height: 1.65;
    font-weight: 650;
}

.login-benefits {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.login-benefit {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 11px;
    align-items: start;
    border-radius: 20px;
    padding: 14px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(190,24,93,0.10);
}

.login-benefit small {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fce7f3;
    color: var(--lp-pink);
}

.login-benefit strong {
    display: block;
    margin-bottom: 3px;
    color: var(--lp-dark);
    font-weight: 950;
}

.login-benefit p {
    font-size: 0.9rem;
}

.login-card {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    max-width: 560px;
    border-radius: 30px;
    padding: 26px;
    border: 1px solid rgba(190, 24, 93, 0.10);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    box-shadow: var(--lp-shadow-soft);
}

.login-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.login-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--lp-pink), var(--lp-coral));
    color: #fff;
    font-size: 1.28rem;
    box-shadow: 0 16px 30px rgba(190, 24, 93, 0.20);
}

.login-card-header h2 {
    margin: 0 0 6px;
    color: var(--lp-dark);
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.login-card-header p:not(.section-kicker) {
    margin: 0;
    color: var(--lp-muted);
    line-height: 1.65;
    font-weight: 650;
}

.login-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    border-radius: 20px;
    padding: 15px 18px;
    font-weight: 850;
    line-height: 1.55;
    box-shadow: 0 14px 30px rgba(17,24,39,0.05);
}

.error-alert {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.success-alert {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.login-form {
    display: grid;
    gap: 20px;
}

.form-stack {
    display: grid;
    gap: 18px;
    max-width: 560px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group label,
.label-row label {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 850;
}

.label-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.label-row a {
    color: var(--lp-pink);
    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
}

.label-row a:hover {
    text-decoration: underline;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    border-radius: 19px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17,24,39,0.045);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.input-wrap:focus-within {
    border-color: var(--lp-coral);
    box-shadow: 0 0 0 4px rgba(219,39,119,0.12), 0 12px 28px rgba(17,24,39,0.055);
}

.input-wrap input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.input-wrap > i {
    width: 56px;
    min-width: 56px;
    align-self: stretch;
    display: grid;
    place-items: center;
    color: #9ca3af;
    background: #fdf2f8;
    border-right: 1px solid #fbcfe8;
    font-size: 0.96rem;
}

.input-wrap input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    padding: 16px 18px;
    color: var(--lp-dark);
    font-size: 1rem;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0 !important;
}

.input-wrap input::placeholder {
    color: #9ca3af;
}

.password-toggle {
    width: 48px;
    min-width: 48px;
    align-self: stretch;
    display: grid;
    place-items: center;
    border: none;
    border-left: 1px solid #fbcfe8;
    background: #fff;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.password-toggle:hover {
    color: var(--lp-pink);
    background: #fdf2f8;
}

.login-btn {
    width: 100%;
    max-width: 560px;
    min-width: 180px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: none;
    border-radius: 999px;
    padding: 14px 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-pink), var(--lp-coral));
    box-shadow: 0 16px 32px rgba(190,24,93,0.22);
    font-size: 0.98rem;
    font-weight: 950;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(190,24,93,0.28);
}

.login-footer-links {
    margin-top: 22px;
    max-width: 560px;
    text-align: center;
}

.login-footer-links p {
    margin: 0;
    color: var(--lp-muted);
    line-height: 1.6;
    font-weight: 650;
}

.login-footer-links a {
    color: var(--lp-pink);
    font-weight: 850;
    text-decoration: none;
}

.login-footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .login-hero {
        grid-template-columns: 1fr;
    }

    .login-preview-card {
        display: none;
    }

    .login-workspace {
        grid-template-columns: 1fr;
    }

    .login-card {
        grid-column: 1;
        grid-row: 1;
        max-width: none;
    }

    .login-info-card {
        grid-column: 1;
        grid-row: 2;
        position: static;
    }
}

@media (max-width: 760px) {
    .login-shell {
        padding: 18px 14px 34px;
    }

    .login-hero {
        border-radius: 28px;
        padding: 26px 20px;
    }

    .login-hero-copy {
        min-height: auto;
    }

    .login-hero h1 {
        font-size: 2.25rem;
    }

    .login-subtitle {
        font-size: 0.98rem;
    }

    .login-workspace {
        border-radius: 28px;
        padding: 14px;
        margin-top: 14px;
    }

    .login-info-card,
    .login-card {
        border-radius: 24px;
        padding: 18px;
    }

    .login-card-header {
        gap: 12px;
    }

    .login-icon,
    .info-card-icon {
        width: 52px;
        height: 52px;
        border-radius: 18px;
        font-size: 1.1rem;
    }

    .login-benefits {
        gap: 10px;
    }
}

@media (max-width: 520px) {
    .login-hero h1 {
        font-size: 1.95rem;
        letter-spacing: -0.045em;
    }

    .login-trust-row {
        gap: 8px;
    }

    .trust-pill {
        width: 100%;
        justify-content: center;
    }

    .login-card-header {
        flex-direction: column;
    }

    .input-wrap {
        min-height: 56px;
        border-radius: 17px;
    }

    .input-wrap > i {
        width: 50px;
        min-width: 50px;
    }

    .input-wrap input {
        padding: 14px;
    }

    .label-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .login-btn {
        width: 100%;
    }

    .login-footer-links {
        max-width: none;
    }
}

.lp-2fa-shell {
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: 28px 20px 42px !important;
}

.lp-2fa-workspace {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    grid-template-columns: 1fr !important;
}

.lp-2fa-workspace .login-info-card {
    display: none !important;
}

.lp-2fa-workspace .login-card {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    grid-column: auto !important;
}