.login-body {
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(520px, .95fr);
}

.login-brand-panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 44px 58px 38px;
    border-right: 1px solid var(--border);
    background:
        radial-gradient(circle at 75% 24%, rgba(139,92,246,.24), transparent 30%),
        radial-gradient(circle at 18% 86%, rgba(34,211,238,.12), transparent 26%),
        linear-gradient(145deg, #090a1b 0%, #0d1024 58%, #11152e 100%);
}

.login-logo-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.login-logo {
    width: 238px;
    height: 62px;
    object-fit: contain;
    object-position: left center;
}

.login-brand-content {
    position: relative;
    z-index: 2;
    width: min(690px, 100%);
    margin: auto 0;
    padding: 74px 0 64px;
}

.login-eyebrow,
.login-card-kicker {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.login-brand-content h1 {
    max-width: 680px;
    margin-top: 20px;
    font-size: clamp(48px, 5.2vw, 78px);
    line-height: 1.02;
    letter-spacing: -.05em;
}

.login-brand-content h1 span {
    display: block;
    padding-bottom: .10em;
    color: transparent;
    background: linear-gradient(95deg, var(--purple), #a978ff 48%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
}

.login-brand-content > p {
    max-width: 650px;
    margin-top: 28px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.75;
}

.login-feature-list {
    display: grid;
    gap: 12px;
    margin-top: 38px;
}

.login-feature-list > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: min(560px, 100%);
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(10px);
}

.login-feature-list > div > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(139,92,246,.36);
    border-radius: 11px;
    color: #bda6ff;
    background: rgba(139,92,246,.10);
    font-size: 10px;
    font-weight: 800;
}

.login-feature-list p {
    display: grid;
    gap: 4px;
}

.login-feature-list strong {
    font-size: 13px;
}

.login-feature-list small {
    color: var(--muted);
    font-size: 11px;
}

.login-brand-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 11px;
}

.login-brand-footer span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.login-orb-one {
    width: 330px;
    height: 330px;
    top: 10%;
    right: -80px;
    background: rgba(139,92,246,.18);
}

.login-orb-two {
    width: 260px;
    height: 260px;
    left: -80px;
    bottom: 5%;
    background: rgba(34,211,238,.10);
}

.login-form-panel {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 44px;
    background:
        radial-gradient(circle at 80% 18%, rgba(139,92,246,.10), transparent 25%),
        var(--bg);
}

.login-card {
    width: min(470px, 100%);
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(155deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(24px);
}

.login-card-heading h2 {
    margin-top: 10px;
    font-size: 34px;
    letter-spacing: -.035em;
}

.login-card-heading p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.login-message {
    margin-top: 24px;
    padding: 13px 14px;
    border: 1px solid rgba(34,211,238,.28);
    border-radius: 12px;
    background: rgba(34,211,238,.08);
    color: #b9f5ff;
    font-size: 12px;
    line-height: 1.55;
}

.login-card form {
    margin-top: 30px;
}

.form-field + .form-field {
    margin-top: 19px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
}

.input-shell {
    height: 52px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255,255,255,.035);
    transition: border-color .18s ease-out, box-shadow .18s ease-out, background .18s ease-out;
}

.input-shell:focus-within {
    border-color: rgba(139,92,246,.70);
    background: rgba(255,255,255,.055);
    box-shadow: 0 0 0 4px rgba(139,92,246,.10);
}

.input-icon {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 12px;
}

.input-shell input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
}

.input-shell input::placeholder {
    color: #68738b;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    font-size: 12px;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    cursor: pointer;
}

.remember-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--purple);
}

.login-options a {
    color: #a98cff;
    font-weight: 700;
}

.login-submit {
    width: 100%;
    min-height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 26px;
    padding: 0 18px 0 20px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--purple-dark), var(--purple) 56%, var(--blue));
    box-shadow: 0 16px 38px rgba(109,40,217,.28);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease-out, box-shadow .18s ease-out;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(109,40,217,.40);
}

.login-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

.login-card-footer a {
    color: var(--text-soft);
}

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

    .login-brand-panel {
        min-height: auto;
        padding: 30px 28px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .login-brand-content {
        width: min(820px, 100%);
        padding: 56px 0 44px;
    }

    .login-brand-content h1 {
        max-width: 820px;
    }

    .login-feature-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .login-feature-list > div {
        grid-template-columns: 1fr;
        align-content: start;
    }

    .login-form-panel {
        min-height: auto;
        padding: 54px 24px 70px;
    }
}

@media (max-width: 700px) {
    .login-logo {
        width: 190px;
        height: 52px;
    }

    .login-brand-content {
        padding: 42px 0 34px;
    }

    .login-brand-content h1 {
        font-size: clamp(42px, 14vw, 62px);
    }

    .login-brand-content > p {
        font-size: 15px;
    }

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

    .login-brand-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-form-panel {
        padding: 34px 16px 54px;
    }

    .login-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .login-card-heading h2 {
        font-size: 29px;
    }

    .login-options,
    .login-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Mensaje de error del login */
.login-message-error {
    border-color: rgba(251,113,133,.30);
    color: #fecdd3;
    background: rgba(251,113,133,.09);
}

