/* Tipografía personalizada para UVAQ LibreBooking */

/* Importar fuente Inter de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Aplicar Inter como fuente principal del sitio */
body,
html,
input,
textarea,
select,
button,
.form-control,
.btn,
.nav,
.navbar,
.table,
.panel,
.modal,
.alert {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Mejorar renderizado de fuentes en diferentes navegadores */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Títulos con peso medio para mejor legibilidad */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 600;
}

/* Personalización del botón OAuth para UVAQ */

/* Botón de inicio de sesión con correo UVAQ */
.social-login a[href*="oauth2-auth.php"] {
    background-color: #face01 !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
    font-weight: 400 !important;
    text-shadow: none !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

/* Hover del botón */
.social-login a[href*="oauth2-auth.php"]:hover {
    background-color: #e1b801 !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Focus del botón (accesibilidad) */
.social-login a[href*="oauth2-auth.php"]:focus {
    background-color: #face01 !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    outline: 3px solid #0072B5 !important;
    outline-offset: 2px !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

/* Active state del botón */
.social-login a[href*="oauth2-auth.php"]:active {
    background-color: #c89e01 !important;
    border: 1px solid #000000 !important;
    transform: scale(0.98) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* Asegurar que el texto del botón sea legible */
.social-login a[href*="oauth2-auth.php"] span {
    color: #000000 !important;
    font-weight: 400 !important;
    text-shadow: none !important;
}

/* Ocultar elementos de interfaz innecesarios para usuarios finales */

/* Ocultar menú padre de Ayuda (mantener engranaje de Configuración) */
#navHelpDropdown:not(:has(.bi-gear-fill)) {
    display: none !important;
}

/* Ocultar items de Ayuda dentro del menú de configuración */
#navHelp,
#navHelpAdmin,
#navAbout {
    display: none !important;
}

/* Ocultar formulario de login tradicional - solo usar OAuth */
#page-login .input-group.mb-2,
#page-login .d-grid.mb-2.mt-3,
#page-login .clearfix,
#page-login #forgot-password {
    display: none !important;
}
