/* =========================================================
   SISAPCONT
   Sistema de Apoyo Contable
   Estilos globales
   ========================================================= */

:root {

    /* =====================================================
       COLORES INSTITUCIONALES
       ===================================================== */

    --color-primary-950: #071426;
    --color-primary-900: #0B1F3A;
    --color-primary-800: #103554;
    --color-primary-700: #164E7A;
    --color-primary-600: #1C628F;
    --color-primary-500: #2474A6;

    --color-accent: #16877A;
    --color-accent-dark: #106B61;
    --color-accent-light: #E7F5F2;

    /* =====================================================
       SUPERFICIES
       ===================================================== */

    --color-background: #F4F7FA;
    --color-surface: #FFFFFF;
    --color-surface-secondary: #F8FAFC;

    /* =====================================================
       TEXTO
       ===================================================== */

    --color-text: #1E293B;
    --color-text-secondary: #64748B;
    --color-text-muted: #94A3B8;

    /* =====================================================
       BORDES
       ===================================================== */

    --color-border: #DCE3EA;
    --color-border-light: #EDF1F5;

    /* =====================================================
       ESTADOS
       ===================================================== */

    --color-success: #16875B;
    --color-warning: #C88719;
    --color-danger: #C63C3C;
    --color-info: #2474A6;

    /* =====================================================
       SOMBRAS
       ===================================================== */

    --shadow-sm:
        0 1px 2px rgba(15, 23, 42, 0.04);

    --shadow-md:
        0 8px 30px rgba(15, 23, 42, 0.08);

    --shadow-lg:
        0 20px 50px rgba(15, 23, 42, 0.12);

    /* =====================================================
       BORDES REDONDEADOS
       ===================================================== */

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* =====================================================
       TRANSICIONES
       ===================================================== */

    --transition-fast: 160ms ease;
    --transition-normal: 250ms ease;

    /* =====================================================
       TIPOGRAFÍA
       ===================================================== */

    --font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;

    font-family: var(--font-family);
    font-size: 16px;

    color: var(--color-text);
    background-color: var(--color-background);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(36, 116, 166, 0.25);
    outline-offset: 2px;
}


/* =========================================================
   UTILIDADES
   ========================================================= */

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-secondary);
}

.hidden {
    display: none !important;
}