/* ============ PÁGINA LOGIN TIPO COINPAYU ============ */

.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f9fafb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem 1rem;
    margin: 1rem;
}

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.login-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.login-title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #111827;
}

.login-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.login-subtitle a {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
}
.login-subtitle a:hover {
    text-decoration: underline;
}

.login-card {
    background: #ffffff;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    padding: 1.1rem 1.2rem 1.2rem;
    box-shadow: 0 12px 30px rgba(15,23,42,0.05);
}

/* Botones sociales (decorativos) */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.social-btn {
    width: 100%;
    padding: 0.5rem 0.7rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    cursor: pointer;
}

.social-btn span.icon {
    font-size: 1rem;
}

.social-btn:hover {
    background: #f9fafb;
}

/* Separador OR */
.login-separator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.6rem 0 0.9rem;
    font-size: 0.78rem;
    color: #9ca3af;
}

.login-separator-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Formulario */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.login-form label {
    font-size: 0.78rem;
    color: #6b7280;
}

.login-form input {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    font-size: 0.85rem;
}

.login-form input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 1px #fed7aa;
}

.login-forgot {
    font-size: 0.78rem;
    color: #f97316;
    text-decoration: none;
    margin: 0.3rem 0 0.6rem;
}
.login-forgot:hover {
    text-decoration: underline;
}

/* Botón principal */
.login-submit {
    width: 100%;
    padding: 0.55rem 0.6rem;
    border-radius: 0.5rem;
    border: none;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 0.1rem;
    transition: opacity 0.15s, transform 0.08s, box-shadow 0.1s;
}

.login-submit:hover {
    opacity: 0.97;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(249,115,22,0.45);
}

/* Mensajes */
.alert {
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
}

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

.alert-success {
    background: #ecfdf3;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 1rem;
    }
}

