/* ... (el resto del CSS anterior sigue igual) ... */

/* Auth Section Styles (Login y Register) */
.auth-section {
    padding: 60px 20px;
    background-color: #f5f7fa;
    min-height: calc(100vh - 60px); /* Ajusta según la altura del header */
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    background-color: white;
    padding: 40px;
    border-radius: 12px; /* Un poco más redondeado */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra más pronunciada */
    width: 100%;
    max-width: 450px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animación al hover */
}

.auth-container:hover {
    transform: translateY(-5px); /* Eleva ligeramente al pasar el mouse */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Sombra más intensa al hover */
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700; /* Más grueso */
}

.auth-header p {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem; /* Ligeramente más pequeño */
}

.alert {
    padding: 12px 16px;
    border-radius: 6px; /* Bordes más redondeados */
    margin-bottom: 20px;
    text-align: left;
    font-size: 0.9rem;
    display: flex; /* Para alinear icono y texto */
    align-items: center;
    gap: 10px; /* Espacio entre icono y texto */
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert i {
    margin-right: 8px;
    font-size: 1.1rem; /* Icono un poco más grande */
}

.auth-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem; /* Ligeramente más pequeño */
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem; /* Tamaño consistente para iconos */
}

.input-icon input,
.form-control {
    width: 100%;
    padding: 14px 14px 14px 42px; /* Espacio para el icono */
    border: 1px solid #ddd;
    border-radius: 6px; /* Bordes más redondeados */
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa; /* Fondo ligeramente más oscuro */
}

.form-control {
    padding: 14px 14px 14px 14px; /* Sin espacio para icono */
}

.input-icon input:focus,
.form-control:focus {
    outline: none;
    border-color: #6c5ce7;
    background-color: #fff; /* Fondo blanco al enfocar */
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1); /* Efecto de resplandor */
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input {
    margin: 0;
}

.forgot-password {
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #5649cc;
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 6px; /* Bordes más redondeados */
    border: 1px solid #ddd;
    background-color: white;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 0.95rem;
}

.btn-social:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px); /* Ligeramente elevado al hover */
}

.btn-google {
    color: #dd4b39;
}

.btn-facebook {
    color: #3b5998;
}

.auth-separator {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #666;
    font-size: 0.9rem;
}

.auth-separator::before,
.auth-separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.auth-separator span {
    padding: 0 15px;
}

.auth-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.auth-footer a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #5649cc;
    text-decoration: underline;
}

/* Responsive Design for Auth */
@media (max-width: 768px) {
    .auth-section {
        padding: 20px 10px;
    }

    .auth-container {
        padding: 30px 20px;
        margin: 0 10px;
        border-radius: 10px; /* Ajuste en móviles */
    }

    .auth-header h1 {
        font-size: 1.8rem; /* Ligeramente más pequeño en móviles */
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .forgot-password {
        align-self: flex-end;
    }

    .btn-social {
        font-size: 0.9rem; /* Ajuste de tamaño de fuente */
        padding: 10px; /* Ajuste de padding */
    }
}

/* Añadir estilos para el select de rol */
.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px; /* Espacio para el icono del dropdown */
}