.lgp-wrap {
    min-height: calc(100vh - 5.625rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
    position: relative;
    overflow: hidden;
}

/* ── Decorative background blobs ──────────────────────────── */
.lgp-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(72px);
    opacity: 1;
}

.lgp-blob--purple {
    width: 32rem;
    height: 32rem;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
    top: -8rem;
    right: -8rem;
}

.lgp-blob--teal {
    width: 26rem;
    height: 26rem;
    background: radial-gradient(circle, rgba(77, 217, 192, 0.12) 0%, transparent 70%);
    bottom: -4rem;
    left: -6rem;
}

/* ── Card ─────────────────────────────────────────────────── */
.lgp-card {
    width: 100%;
    max-width: 26rem;
    padding: 2.5rem 2.25rem;
    border-radius: 1.25rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(17, 10, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    box-shadow:
        0 1.5rem 4rem rgba(2, 0, 14, 0.3),
        0 0 2rem rgba(158, 107, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

/* ── Brand accent ─────────────────────────────────────────── */
.lgp-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.lgp-brand__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #9e6bff, #4dd9c0);
    box-shadow: 0 0 0.5rem rgba(158, 107, 255, 0.5);
}

.lgp-brand__name {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Heading ──────────────────────────────────────────────── */
.lgp-heading {
    margin: 0 0 0.5rem;
    line-height: 1.1;
}

.lgp-heading__line {
    display: block;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.lgp-heading__line--gradient {
    background: linear-gradient(135deg, #9e6bff 0%, #4dd9c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lgp-subtitle {
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ── Error list ───────────────────────────────────────────── */
.lgp-errors {
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: rgba(252, 165, 165, 0.9);
    font-size: 0.8125rem;
}

.lgp-errors ul {
    margin: 0;
    padding: 0 0 0 1rem;
}

.lgp-errors li + li {
    margin-top: 0.25rem;
}

/* ── Form ─────────────────────────────────────────────────── */
.lgp-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lgp-field-group {
    display: flex;
    flex-direction: column;
}

/* ── Inputs ───────────────────────────────────────────────── */
.lgp-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.625rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.lgp-input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.lgp-input:focus {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* ── Remember / Forgot row ────────────────────────────────── */
.lgp-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.125rem;
}

.lgp-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lgp-checkbox {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    accent-color: #7c3aed;
    cursor: pointer;
}

.lgp-checkbox-label {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.8125rem;
    cursor: pointer;
}

.lgp-forgot {
    color: rgba(139, 92, 246, 0.85);
    font-size: 0.8125rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.lgp-forgot:hover {
    color: #a78bfa;
    text-decoration: none;
}

/* ── Submit button ────────────────────────────────────────── */
.lgp-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 0 1.25rem rgba(124, 58, 237, 0.45);
    transition: box-shadow 0.2s ease, transform 0.12s ease;
    margin-top: 0.25rem;
}

.lgp-submit:hover {
    box-shadow: 0 0 2rem rgba(124, 58, 237, 0.75);
    color: #ffffff;
}

.lgp-submit:active {
    transform: scale(0.99);
}

/* ── Divider ──────────────────────────────────────────────── */
.lgp-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 1.5rem 0 1.25rem;
}

/* ── Footer link ──────────────────────────────────────────── */
.lgp-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8125rem;
}

.lgp-footer__link {
    color: rgba(139, 92, 246, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.lgp-footer__link:hover {
    color: #a78bfa;
    text-decoration: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 30rem) {
    .lgp-wrap {
        align-items: flex-start;
        padding-top: 2rem;
    }

    .lgp-card {
        padding: 2rem 1.25rem;
        box-sizing: border-box;
    }
}