/* ==========================================================================
   SISTEMA DE FUENTES UNIFICADO - WebAportes
   Importar este archivo en los master pages ANTES del CSS de tema.
   ========================================================================== */

:root {
    /* Familia tipografica */
    --font-primary: 'Segoe UI', Tahoma, Arial, sans-serif;
    --font-mono: 'Consolas', 'Courier New', monospace;

    /* Escala tipografica (rem) */
    --fs-xs:   0.75rem;   /* 12px - footers, notas, ayudas */
    --fs-sm:   0.875rem;  /* 14px - labels, links secundarios */
    --fs-base: 1rem;      /* 16px - texto general, inputs */
    --fs-md:   1.125rem;  /* 18px - subtitulos, encabezados grid */
    --fs-lg:   1.5rem;    /* 24px - titulos de seccion (h3) */
    --fs-xl:   2rem;      /* 32px - titulos principales (h2) */

    /* Pesos */
    --fw-normal: 400;
    --fw-medium: 600;
    --fw-bold:   700;
}

/* Reset de fuente base — excluye el RadMenu de Telerik */
body {
    font-family: var(--font-primary);
    font-weight: var(--fw-normal);
}

/* Font-size y line-height solo para el contenido principal, no para nav/menu */
#principalContenedor, #ContenedorLoguin, .container-fluid {
    font-size: var(--fs-base);
    line-height: 1.5;
}

/* Encabezados */
h1 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
}

h2 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
}

h3 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
}

h4, h5, h6 {
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
}

/* Inputs y controles de formulario — excluye botones Bootstrap */
#principalContenedor input, #principalContenedor select, #principalContenedor textarea,
.riTextBox, .RadInput, .RadComboBox {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
}

/* Texto chico: footers, notas */
small, .small, footer, .footer {
    font-size: var(--fs-xs);
}

/* Labels y links secundarios */
label, .label-text {
    font-size: var(--fs-sm);
}

/* Codigo */
code, pre, .mono {
    font-family: var(--font-mono);
}

/* Fix: igualar input[submit] con button dentro de modals Bootstrap */
.modal-footer .btn {
    display: inline-block;
    width: auto;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    border: 1px solid transparent;
    border-radius: .25rem;
    box-sizing: border-box;
    vertical-align: middle;
    height: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

