/* Estilos generales para las páginas de autenticación */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #00256e 0%, #001233 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    max-width: 150px;
    height: auto;
}

/* Títulos */
.auth-container h2 {
    color: #00256e;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
}

/* Formularios */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #00256e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 37, 110, 0.1);
}

/* Input de teléfono */
.phone-input {
    display: flex;
    gap: 10px;
}

.phone-input select {
    width: 30%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    font-size: 14px;
}

.phone-input input {
    width: 70%;
}

/* Botón de envío */
.auth-button {
    width: 100%;
    padding: 14px;
    background-color: #00256e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-button:hover {
    background-color: #003399;
}

.auth-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Enlaces */
.auth-links {
    text-align: center;
    margin-top: 25px;
}

.auth-links p {
    color: #666666;
    font-size: 14px;
}

.auth-links a {
    color: #00256e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #003399;
}

/* Mensajes de error y éxito */
.error-message,
.success-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.error-message {
    background-color: #ffe6e6;
    color: #d63031;
    border: 1px solid #ff7675;
}

.success-message {
    background-color: #e6ffe6;
    color: #00b894;
    border: 1px solid #55efc4;
}

/* Estilos responsivos */
@media (max-width: 480px) {
    .auth-container {
        padding: 30px 20px;
    }

    .logo img {
        max-width: 120px;
    }

    .auth-container h2 {
        font-size: 20px;
    }

    .form-group input,
    .phone-input select {
        padding: 10px 12px;
    }

    .auth-button {
        padding: 12px;
        font-size: 15px;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-container {
    animation: fadeIn 0.5s ease-out;
}