/* ============================================================
   LTLegalConnect — APP COLOURS (theme-colors.css)
   The palette (accent, brand dark, neutrals, status colours), the semantic roles, the colours of the LT controls and
   both themes (Ubimia and LexTools) live in the LTControls library: _content/LTControls/css/lt-theme.css, loaded
   before this file (see index.html of the hosts). This file only adds the colour roles that are LTLegalConnect's own.
   Component stylesheets must only use tokens, never a hex/rgb literal.

   The active theme is the data-theme attribute of <html> in the index.html of both hosts (currently "lextools").
   Nothing here changes with the theme.
   ============================================================ */

:root {
    /* Starred ("destacado") message */
    --indicator-star:    #F5A623;

    /* Message-type pills (grid "Tipo" column) */
    --pill-notif-bg:    #E0F2FE;  --pill-notif-border:    #BAE6FD;  --pill-notif-fg:    #0369A1;
    --pill-transfer-bg: #DBEAFE;  --pill-transfer-border: #BFDBFE;  --pill-transfer-fg: #1D4ED8;
    --pill-req-bg:      #FFF7ED;  --pill-req-border:      #FED7AA;  --pill-req-fg:      #C2410C;
    --pill-escrito-bg:  #F1F5F9;  --pill-escrito-border:  #CBD5E1;  --pill-escrito-fg:  #475569;
    --pill-acuse-bg:    #FEFCE8;  --pill-acuse-border:    #FDE68A;  --pill-acuse-fg:    #A16207;
    --pill-execution-bg: #F5F3FF; --pill-execution-border: #DDD6FE; --pill-execution-fg: #6D28D9;
    --pill-cassation-bg: #FFF1F2; --pill-cassation-border: #FECDD3; --pill-cassation-fg: #BE123C;
    --pill-defense-bg:   #F0FDFA; --pill-defense-border:   #99F6E4; --pill-defense-fg:   #0F766E;
    --pill-appearance-bg: #FDF4FF; --pill-appearance-border: #F5D0FE; --pill-appearance-fg: #A21CAF;
    --pill-monitorio-bg: #ECFDF5; --pill-monitorio-border: #A7F3D0; --pill-monitorio-fg: #047857;

    /* Participant-role chips (user role selector) */
    --chip-violet-bg: rgba(140, 123, 255, 0.12);  --chip-violet-fg: #5847CC;
    --chip-sky-bg:    rgba(91, 200, 255, 0.16);   --chip-sky-fg:    #1B7CB8;

    /* ---------- CONNECTION PANEL — always green, whatever the theme is (the "Conectar" button is LTButton
       Type="Accent", whose colours are in lt-theme.css) ---------- */
    --conn-bg:      #E6FFF7;
    --conn-border:  rgba(0, 255, 178, 0.3);
    --conn-fg:      #00A876;
    --conn-dot:     #00D998;
    --conn-glow:    rgba(0, 217, 152, 0.18);
    --conn-glow-fade: rgba(0, 217, 152, 0.06);

    /* ---------- HOST SHELL — the Blazor host pages (app.css of LTLegalConnectWebAssembly and LTLegalConnectHybrid): links, Bootstrap
       buttons, validation outlines, the loading ring and the error banners. Same values both hosts used. ---------- */
    --host-link:               #0071C1;
    --host-btn-primary-bg:     #1B6EC2;
    --host-btn-primary-border: #1861AC;
    --host-focus-ring:         #258CFB;
    --host-valid-outline:      #26B050;
    --host-invalid:            #E50000;
    --host-error-ui-bg:        #FFFFE0;   /* lightyellow */
    --host-error-boundary-bg:  #B32121;
    --host-loading-track:      #E0E0E0;
    --host-loading-bar:        var(--brand-dark);
    --host-loader-bg:          var(--brand-dark);   /* SpinKit cube grid */
    --host-loader-cube:        var(--accent-500);
    --host-code-fg:            #C02D76;
    --host-shadow-top:         rgba(0, 0, 0, 0.2);
}
