/* ==========================================================================
1. CONFIGURACIÓN BASE Y RESPONSIVE
========================================================================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

/* Helpers de tipografía del sistema */
.fs-7 { font-size: 0.825rem !important; }
.transition-all { transition: all 0.2s ease-in-out; }

/* ==========================================================================
2. COMPONENTES DE FORMULARIOS Y ENFOQUE (ACCESIBILIDAD POS)
========================================================================== */
.btn:focus, .btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--text-tertiary, var(--bs-secondary-color));
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ==========================================================================
3. CONTROLADORES DE CATEGORÍA DEL MENÚ / PLATOS
   (Colores ahora definidos en layout-theme.css vía CSS variables)
========================================================================== */

/* Control global exacto de rotación de flechas en menú colapsable */
.sidebar .nav-link .arrow-icon {
    transition: transform 0.2s ease-in-out;
    font-size: 0.8rem;
}

.sidebar .nav-link:not(.collapsed) .arrow-icon {
    transform: rotate(180deg) !important;
}

/* ==========================================================================
4. SECCIÓN DE ALTAS Y MODIFICACIONES (TABS PLANAS ESTILO POS)
   (Colores ahora definidos en layout-theme.css vía CSS variables)
========================================================================== */
