﻿/* Stili grafici dei portali Modo.Net (login, recupero password, cruscotti Preposto e Datore di lavoro).
   Lo stile attivo si sceglie in Impostazioni > Portale: stile e cruscotti e si applica con l'attributo data-stile (sul body o su un contenitore).
   Il tema DevExpress e il suo colore base sono in ModoNet_Core/DM/StileGrafico.cs.
   Testi e pulsanti hanno contrasto >= 4.5:1 su bianco (WCAG 2.1 AA); --decor-1 e --decor-2 sono solo decorativi. */

/* colori comuni a tutti gli stili */
:root {
    --ink: #1F2328;
    --ink-2: #4A5159;
    --line: #DAD6CC;
    --bg: #FFFFFF;
    --bg-soft: #F6F4EF;
    --on-accent: #FFFFFF;
    --hero-ink: #F4F1EA;
    --hero-ink-2: #D3D8DB;
    --error: #A4161A;
    --error-bg: #FDECEC;
    --error-line: #E8A3A5;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* A - Modo.Net (predefinito) */
:root, [data-stile="A"] {
    --accent: #2F6413;
    --accent-hover: #234C0E;
    --accent-soft: #EAF5E1;
    --accent-line: #A9CF85;
    --decor-1: #F39200;
    --decor-2: #8DC63F;
    --highlight: rgba(243, 146, 0, .55);
    --hero-1: #17252E;
    --hero-2: #20414A;
    --hero-3: #24500F;
    --menu-bg: #17252E;
    --focus: #B35F00;
}

/* B - Istituzionale */
[data-stile="B"] {
    --accent: #1D4F91;
    --accent-hover: #163D70;
    --accent-soft: #E6EEF8;
    --accent-line: #9DB9DE;
    --decor-1: #F2B134;
    --decor-2: #5B9BD5;
    --highlight: rgba(242, 177, 52, .6);
    --hero-1: #0F2A4A;
    --hero-2: #173E6B;
    --hero-3: #1A4680;
    --menu-bg: #0F2A4A;
    --focus: #1D4F91;
}

/* C - Salute */
[data-stile="C"] {
    --accent: #00695C;
    --accent-hover: #004D43;
    --accent-soft: #E0F2EF;
    --accent-line: #8CCFC6;
    --decor-1: #FFB74D;
    --decor-2: #4DB6AC;
    --highlight: rgba(255, 183, 77, .6);
    --hero-1: #0B3B36;
    --hero-2: #0E4F48;
    --hero-3: #005A4F;
    --menu-bg: #0B3B36;
    --focus: #00695C;
}

/* D - Grafite (alto contrasto) */
[data-stile="D"] {
    --accent: #24292F;
    --accent-hover: #000000;
    --accent-soft: #EEF0F2;
    --accent-line: #9AA4AE;
    --decor-1: #F0B429;
    --decor-2: #9AA4AE;
    --highlight: rgba(240, 180, 41, .7);
    --hero-1: #111418;
    --hero-2: #1F242A;
    --hero-3: #2D333B;
    --menu-bg: #111418;
    --focus: #24292F;
}

/* E - Bordeaux */
[data-stile="E"] {
    --accent: #8C1D40;
    --accent-hover: #6B1631;
    --accent-soft: #F8E8ED;
    --accent-line: #DDA3B5;
    --decor-1: #D4A017;
    --decor-2: #E8B4C2;
    --highlight: rgba(212, 160, 23, .6);
    --hero-1: #3A0D1C;
    --hero-2: #5A1630;
    --hero-3: #74193A;
    --menu-bg: #3A0D1C;
    --focus: #8C1D40;
}
