/* ========================= */
/* TIPOGRAFIAS */
/* ========================= */

@font-face {
    font-family: "Cardo";
    src: url("../assets/fonts/Cardo-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../assets/fonts/Roboto-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* ========================= */
/* TOKENS GLOBALES */
/* ========================= */

:root {
    --brand-primary: #790000;
    --brand-primary-hover: #5d0000;
    --brand-secondary: #ff0000;
    --brand-accent: #ffaf00;
    --brand-accent-hover: #e69e00;
    --brand-white: #ffffff;

    --color-background: #f5f6f8;
    --color-surface: var(--brand-white);
    --color-surface-muted: #f3f4f6;
    --color-brand-surface: #fff5f5;
    --color-text: #20252b;
    --color-text-secondary: #555555;
    --color-text-muted: #667085;
    --color-border: #dfe3e8;
    --color-border-strong: #c7ccd1;

    --color-success: #218838;
    --color-success-hover: #176b2c;
    --color-success-surface: #dff3e4;
    --color-success-text: #176b2c;
    --color-success-border: #a9d7b1;
    --color-info: #3578b7;
    --color-info-surface: #dcecff;
    --color-info-text: #174f82;
    --color-info-border: #a8c7e8;
    --color-warning: var(--brand-accent);
    --color-warning-surface: #fff3cd;
    --color-warning-text: #6f5200;
    --color-warning-border: #d99a00;
    --color-danger: #b42318;
    --color-danger-hover: #8f1d14;
    --color-danger-surface: #f4dddd;
    --color-danger-text: #8b1e1e;
    --color-danger-border: #d59a9a;
    --color-focus: var(--brand-primary);
    --color-focus-ring: rgba(121, 0, 0, 0.22);
    --color-danger-ring: rgba(180, 35, 24, 0.2);

    --color-neutral-surface: #e8eaed;
    --color-neutral-text: #4b4f56;
    --color-neutral-action: #6c757d;
    --color-neutral-action-hover: #5a6268;

    --color-control-disabled: #eef0f2;
    --color-control-disabled-text: #5b6470;
    --color-control-disabled-border: #d7dbe0;

    --font-heading: "Cardo", Georgia, serif;
    --font-body: "Roboto", Arial, Helvetica, sans-serif;

    --sidebar-width: 260px;
    --sidebar-collapsed-width: 72px;
    --sidebar-current-width: var(--sidebar-width);

    --radius-sm: 5px;
    --radius-md: 6px;
    --radius-lg: 8px;
}
