/* Estilos para las páginas de autenticación */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-container,
.register-container {
    margin-top: 5vh;
    margin-bottom: 5vh;
}

.login-logo {
    max-height: 60px;
    margin-bottom: 10px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: 600;
    color: #333;
}

.form-control {
    border-radius: 5px;
    padding: 10px 12px;
    height: auto;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: 0;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: #80bdff;
}

.form-control:not(:placeholder-shown) + .input-group-text,
.form-control:focus + .input-group-text {
    border-color: #80bdff;
}

.btn-primary {
    padding: 10px 16px;
    font-weight: 500;
    border-radius: 5px;
}

.toggle-password {
    border-left: 0;
    cursor: pointer;
}

.form-label {
    font-weight: 500;
    margin-bottom: 5px;
}

.form-check-label {
    font-weight: normal;
}

/* Animaciones */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Estilos para mensajes de error */
.alert {
    border-radius: 5px;
    border-left-width: 5px;
}

.alert-danger {
    border-left-color: #dc3545;
}

.alert-success {
    border-left-color: #28a745;
}

/* Mejoras para dispositivos móviles */
@media (max-width: 576px) {
    .login-container,
    .register-container {
        margin-top: 0;
    }
    
    .card {
        border-radius: 0;
        box-shadow: none;
    }
    
    .login-logo {
        max-height: 50px;
    }
}

/* Diseño para la página de verificación y restablecimiento */
.verification-container {
    max-width: 600px;
    margin: 10vh auto;
}

.verification-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

.error-icon {
    font-size: 60px;
    color: #dc3545;
    margin-bottom: 20px;
}

/* Animación para los iconos de las cajas de entrada */
.input-group-text i {
    transition: color 0.3s ease;
}

.form-control:focus + .input-group-text i {
    color: #007bff;
}

/* Diseño para el formulario de registro */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #6c757d;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

/* Botones de redes sociales (para futuras implementaciones) */
.btn-social {
    color: #fff;
    border: none;
    padding: 10px 16px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
    border-radius: 5px;
}

.btn-google {
    background-color: #dd4b39;
}

.btn-google:hover {
    background-color: #c23321;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-facebook:hover {
    background-color: #2d4373;
}

.btn-twitter {
    background-color: #55acee;
}

.btn-twitter:hover {
    background-color: #2795e9;
}