:root {
    color-scheme: light;
    /* ============================================================
       PALETA PRINCIPAL
       ============================================================ */

    --brand-950: #09112f;
    --brand-900: #101653;
    --brand-850: #141c64;
    --brand-800: #1a2576;
    --brand-700: #3143aa;
    --brand-600: #4b62d4;
    --accent-500: #21c7ca;
    --accent-600: #12afb4;
    --cyan-soft: #eefcfc;
    --pink-500: #e5007e;
    --yellow-400: #f9c846;
    --green-500: #22c55e;
    --green-50: #dcfce7;
    --red-50: #fee2e2;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --amber-50: #fff7db;
    --amber-700: #a16207;
    --blue-50: #e0f2fe;
    --blue-700: #075985;
    /* ============================================================
       FONDOS
       ============================================================ */

    --app-bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-soft-2: #f1f5f9;
    /* ============================================================
       BORDES
       ============================================================ */

    --line: #d9e2f0;
    --line-strong: #c5d2e8;
    /* ============================================================
       TEXTOS
       ============================================================ */

    --text: #111827;
    --text-soft: #344054;
    --muted: #667085;
    /* ============================================================
       RADIOS
       ============================================================ */

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 30px;
    /* ============================================================
       SOMBRAS
       ============================================================ */

    --shadow-xs: 0 3px 10px rgba(16, 24, 40, 0.05);
    --shadow-sm: 0 10px 30px rgba(16, 24, 40, 0.08);
    --shadow-md: 0 22px 56px rgba(16, 24, 40, 0.12);
    --shadow-lg: 0 32px 72px rgba(9, 17, 47, 0.18);
    --shadow-focus: 0 0 0 4px rgba(33, 199, 202, 0.22);
    /* ============================================================
       TIPOGRAFÍA
       ============================================================ */

    --app-font: "Segoe UI", Arial, Helvetica, sans-serif;
}


html,
body {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--app-bg);
    color: var(--text);
    font-family: var(--app-font);
}


body {
    position: relative;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}


a {
    text-decoration: none;
}


button,
input,
select,
textarea {
    font-family: var(--app-font);
}


button {
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}


input,
select,
textarea {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}


button:focus,
button:active {
    outline: none;
}


input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-500);
    box-shadow: var(--shadow-focus);
}


h1:focus {
    outline: none;
}


/* ============================================================
   VALIDACIÓN
   ============================================================ */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}


.invalid {
    outline: 1px solid #e50000;
}


.validation-message {
    color: #e50000;
}


/* ============================================================
   ERROR BLAZOR
   ============================================================ */

.blazor-error-boundary {
    padding: 1rem;
    background-color: #b32121;
    color: #ffffff;
}


    .blazor-error-boundary::after {
        content: "Ha ocurrido un error.";
    }


/* ============================================================
   CHECKBOX
   ============================================================ */

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


input[type="checkbox"] {
    accent-color: var(--accent-600);
}


/* ============================================================
   SELECCIÓN DE TEXTO
   ============================================================ */

::selection {
    background-color: rgba(33, 199, 202, 0.28);
    color: var(--brand-950);
}


/* ============================================================
   SCROLLBAR GLOBAL
   ============================================================ */

* {
    scrollbar-color: #aebbd0 #edf2f7;
}


    *::-webkit-scrollbar-track {
        background-color: #edf2f7;
    }


    *::-webkit-scrollbar-thumb {
        background-color: #aebbd0;
        border-radius: 999px;
    }


        *::-webkit-scrollbar-thumb:hover {
            background-color: #8fa0ba;
        }
