/* ============================================
   ESTILOS DE AUTENTICACIÓN - BarberConnect
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.auth-container {
    max-width: 420px;
    width: 90%;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ============================================
   LOGO
   ============================================ */
.logo {
    text-align: center;
    margin-bottom: 24px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span {
    font-weight: 300;
    color: #666;
}

.logo .slogan {
    color: #999;
    font-size: 0.8rem;
    margin-top: 4px;
    font-weight: 400;
}

/* ============================================
   TÍTULOS
   ============================================ */
.auth-title {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* ============================================
   FORMULARIO
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #1a1a1a;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #333;
}

/* ============================================
   ALERTAS
   ============================================ */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.alert-error {
    background: #fef5f5;
    border-left: 3px solid #c62828;
    color: #8b1e1e;
}

.alert-success {
    background: #f0f9f0;
    border-left: 3px solid #2e7d32;
    color: #1e4620;
}

/* ============================================
   ENLACES
   ============================================ */
.register-link {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
}

.register-link a {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* ============================================
   DIVISOR
   ============================================ */
.divider {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.divider p {
    color: #666;
    font-size: 0.85rem;
}

.divider a {
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
}

.divider a:hover {
    text-decoration: underline;
}

/* ============================================
   BADGE DE ROL
   ============================================ */
.rol-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #1a1a1a;
    color: white;
    margin-bottom: 12px;
}

/* ============================================
   INFO TEXT
   ============================================ */
.info-text {
    color: #999;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.info-text i {
    margin-right: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .auth-container {
        padding: 24px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .auth-title {
        font-size: 1.2rem;
    }
}