/* Pequeños toques para quitar el "olor a Bootstrap por defecto" */
:root {
    --bs-font-sans-serif: 'Inter', sans-serif;
    --bs-primary: #2563EB; /* Un azul más moderno que el de Bootstrap */
    --bs-body-bg: #F8FAFC; /* Un gris muy suave, no blanco puro */
}ç

/* 1. Evita que el menú tape el título al hacer scroll */
html {
    scroll-padding-top: 80px; /* Ajusta según la altura de tu navbar */
    scroll-behavior: smooth;  /* Scroll suave nativo */
}

/* Animación suave para el dropdown */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajuste para que el cuerpo baje porque el menú es fijo */
body {
    font-family: var(--bs-font-sans-serif);
    background-color: var(--bs-body-bg);
}

.card {
    border: none;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
    border-radius: 0.75rem; /* Bordes más redondeados */
}

.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
}

/* Utilidad para Login (Pantalla completa) */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px; /* Centra el icono verticalmente */
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

/* CSS Específico para el Login */
body, html { height: 100%; overflow-x: hidden; }

.login-section { min-height: 100vh; }

/* Columna de Imagen (Derecha) */
.bg-image-col {
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Capa oscura sobre la imagen para que el texto se lea */
.bg-overlay {
    background: linear-gradient(to bottom, rgba(13, 110, 253, 0.4), rgba(0, 0, 0, 0.8));
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* Caja del formulario */
.login-form-container {
    max-width: 450px;
    width: 100%;
    padding: 2rem;
}

/* Inputs modernos flotantes */
.form-floating > .form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
    border-width: 2px;
}

.btn-google {
    border: 1px solid #ddd;
    background: white;
    color: #333;
    font-weight: 500;
}
.btn-google:hover { background: #f8f9fa; }