/*
 * TEMA de miembros: lo que define el diseño del Fondo (colores, tipografía, radios, logos).
 * app.css solo usa estas variables. El panel de administración tiene su propia hoja (admin.css).
 */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-ui:   "Poppins", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    /* Marca */
    --brand:        #154b89;   /* titulos */
    --brand-2:      #005696;   /* botones de categoria */
    --brand-3:      #2473bc;   /* tarjetas del inicio */
    --brand-ink:    #ffffff;
    --navy:         #00004b;   /* boton principal del ingreso */
    --accent:       #f9b200;   /* amarillo: seleccion y marcador */
    --gov:          #3366cc;   /* franja gov.co */
    --gov-2:        #006eaf;   /* segunda franja */
    --login-bg:     #224e84;

    --ink:          #1f2937;
    --muted:        #6b7280;
    --line:         #d1d3d4;
    --bg:           #f6f5ee;   /* crema del diseño */
    --surface:      #ffffff;
    --field:        #e6e7e8;   /* buscador */
    --chip:         #e6e7e8;
    --err:          #b91c1c;
    --err-bg:       #fee2e2;
    --ok:           #166534;
    --ok-bg:        #dcfce7;

    /* Convencion de colores por tipo de archivo (definida por el Fondo) */
    --ft-doc:       #2563eb;  --ft-doc-bg:  #dbeafe;   /* editables: azul */
    --ft-pdf:       #dc2626;  --ft-pdf-bg:  #fee2e2;   /* finales / lectura: rojo */
    --ft-xls:       #16a34a;  --ft-xls-bg:  #dcfce7;   /* calculo y datos: verde */
    --ft-img:       #7c3aed;  --ft-img-bg:  #ede9fe;   /* visuales y multimedia: morado */
    --ft-zip:       #b45309;  --ft-zip-bg:  #fef3c7;   /* compresiones: amarillo */
    --ft-file:      #6b7280;  --ft-file-bg: #e6e7e8;

    --radius:       14px;
    --radius-sm:    8px;
    --max-width:    1440px;

    --ease:         cubic-bezier(.22, 1, .36, 1);
    --glass:        rgb(255 255 255 / .62);
    --glass-edge:   rgb(255 255 255 / .75);
    --blur:         blur(16px) saturate(1.4);
    --shadow-sm:    0 1px 2px rgb(21 75 137 / .08), 0 2px 8px rgb(21 75 137 / .06);
    --shadow-md:    0 6px 18px rgb(21 75 137 / .12), 0 2px 6px rgb(21 75 137 / .08);
    --shadow-lg:    0 22px 50px rgb(21 75 137 / .22), 0 6px 14px rgb(21 75 137 / .1);
}
