.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--bg-light);
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA LOGIN
   ========================================================================== */

.auth-login .auth-box {
    max-width: 950px;
}

.auth-login .auth-sidebar {
    flex: 1;
    padding: 45px;
}

.auth-login .contact-block {
    padding: 25px 0;
    gap: 15px;
}

.auth-login .contact-icon-outline {
    width: 55px;
    height: 55px;
}

.auth-login .auth-sidebar h3 {
    font-size: 18px;
    margin-bottom: 25px;
}

.auth-login .social-row {
    margin-bottom: 40px;
}

.auth-login .auth-form-container {
    flex: 1.2;
    padding: 45px 60px;
}

.auth-login .auth-form-container h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.auth-login .auth-form-container .intro-text {
    margin-bottom: 35px;
}

.auth-login .auth-input-group {
    margin-bottom: 20px;
}

.auth-login .auth-field {
    padding: 12px 15px;
}

.auth-box {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e1e8ef;
}

.auth-sidebar {
    flex: 0.8;
    background-color: #f4f8fb;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.auth-sidebar h3 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #333;
}

.social-row {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-circle {
    width: 38px;
    height: 38px;
    background-color: var(--navy);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: background 0.3s;
}

.social-circle:hover { 
    background-color: var(--cyan);
    text-decoration: none;
}

/* Bloques de Contacto (Teléfono/Correo) */
.contact-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-top: 1px solid #e1e8ef;
}

.contact-icon-outline {
    width: 55px;
    height: 55px;
    border: 1.5px solid var(--cyan);
    color: var(--cyan);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-icon-outline img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.contact-text h4 { font-size: 16px; margin: 0; color: #333; }
.contact-text p { margin: 0; font-size: 14px; color: var(--text-muted); }

.sidebar-footer-text {
    margin-top: auto;
    font-size: 14px;
    color: #99abb4;
    line-height: 1.6;
}

/* Lado Derecho: Formulario */
.auth-form-container {
    flex: 1.4;
    padding: 45px 60px;
    background: #fff;
    position: relative;
}

.auth-form-container h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--navy);
}

.auth-form-container .intro-text {
    font-size: 16px;
    color: #777;
    margin-bottom: 25px;
    line-height: 1.5;
}

.auth-form-container .intro-text a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
}
.auth-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.auth-row .auth-input-group {
    flex: 1;
}

/* Inputs Estilo Referencia */
.auth-input-group { 
    margin-bottom: 15px;
}

.auth-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.auth-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.auth-field:focus { border-color: var(--navy); }

.auth-footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.forgot-link {
    font-size: 14px;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 700;
}

.forgot-link:hover {
    color: var(--cyan);
    text-decoration: none;
}

.btn-accasar {
    background-color: var(--navy);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
}

.btn-accasar:hover { opacity: 0.9; }

.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-text {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Responsivo */
@media (max-width: 850px) {
    .auth-box { flex-direction: column; max-width: 500px; }
    .auth-sidebar { padding: 30px; }
    .auth-row { flex-direction: column; gap: 0; }
}