* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #eef3f9;
    color: #101828;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
}

.login-left {
    flex: 1;
    background: #ffffff;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.brand-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
}

.login-left h1 {
    font-size: 24px;
    margin: 0 0 8px 0;
}

.login-left p.subtitle {
    margin: 0 0 32px 0;
    color: #555;
    font-size: 14px;
}

.login-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #cfd8e3;
    outline: none;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-control:focus {
    border-color: #1f6feb;
    box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.12);
}

.forgot-link {
    font-size: 12px;
    color: #555;
    margin-bottom: 16px;
    display: inline-block;
}

.btn-login {
    width: 100%;
    border: none;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #1f6feb, #1158d3);
    color: #fff;
    transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 12px 24px rgba(17, 88, 211, 0.22);
}

.btn-login:hover {
    opacity: 0.98;
    transform: translateY(-1px);
}

.signup-text {
    margin-top: 16px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.signup-text a {
    color: #1e90ff;
    text-decoration: none;
}

.signup-text a:hover {
    text-decoration: underline;
}

.login-right {
    flex: 1.1;
    background: linear-gradient(135deg, #1f6feb, #0f56cf);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #fff;
}

.illustration-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 32px;
    max-width: 420px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.illustration-card h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.illustration-card p {
    font-size: 14px;
    margin: 0;
}

/* Recuperación */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(31,111,235,0.06), transparent 22%),
        radial-gradient(circle at bottom right, rgba(17,88,211,0.08), transparent 24%),
        #eef3f9;
}

.auth-shell {
    width: 100%;
    max-width: 1120px;
}

.auth-card {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    background: #ffffff;
    border: 1px solid #dbe5f0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.10);
}

.auth-panel {
    min-height: 620px;
}

.auth-panel-form {
    padding: 46px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-panel-art {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        linear-gradient(135deg, #1f6feb, #0f56cf);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: #edf4ff;
    color: #1557c0;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.auth-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    color: #101828;
}

.auth-subtitle {
    margin: 0 0 26px;
    color: #667085;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 540px;
}

.auth-form {
    margin-top: 6px;
}

.auth-label {
    font-size: 0.97rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 10px;
}

.auth-input {
    min-height: 56px;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #cfd8e3;
    background: #fff;
}

.auth-input::placeholder {
    color: #98a2b3;
}

.auth-btn-primary {
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    font-weight: 800;
    font-size: 0.98rem;
    background: linear-gradient(135deg, #1f6feb, #1158d3);
    box-shadow: 0 14px 26px rgba(17, 88, 211, 0.24);
    transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

.auth-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(17, 88, 211, 0.28);
}

.auth-links {
    margin-top: 18px;
}

.auth-link-back {
    color: #1557c0;
    text-decoration: none;
    font-weight: 700;
}

.auth-link-back:hover {
    text-decoration: underline;
}

.auth-support-box {
    margin-top: 28px;
    padding: 15px 18px;
    border-radius: 18px;
    border: 1px solid #dde5ee;
    background: #f8fafc;
    color: #475467;
    font-size: 0.95rem;
}

.auth-support-label {
    color: #667085;
    margin-right: 4px;
}

.auth-art-card {
    width: 100%;
    max-width: 380px;
    padding: 28px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.auth-art-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.14);
}

.auth-art-card h3 {
    margin: 0 0 12px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.auth-art-card p {
    margin: 0;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .auth-card {
        grid-template-columns: 1fr;
    }

    .auth-panel-art {
        display: none;
    }

    .auth-panel-form {
        min-height: auto;
        padding: 34px 24px;
    }

    .auth-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 576px) {
    .auth-page {
        padding: 16px;
    }

    .auth-card {
        border-radius: 24px;
    }

    .auth-panel-form {
        padding: 26px 18px;
    }

    .auth-title {
        font-size: 1.65rem;
    }

    .auth-subtitle {
        font-size: 0.95rem;
    }

    .auth-support-box {
        font-size: 0.9rem;
    }

    .login-right {
        display: none;
    }

    .login-left {
        padding: 24px 20px;
    }
}