/* JustaRH — fenêtres (modales) des modules : design coloré 3D */

:root{--g3:0 1px 0 rgba(255,255,255,.38) inset,0 -4px 0 rgba(0,0,0,.2) inset,0 8px 14px -8px rgba(0,0,0,.45);
--c1:linear-gradient(145deg,#2fa36b,#14532d);--c2:linear-gradient(145deg,#3b82f6,#1e3a8a);--c3:linear-gradient(145deg,#f59e0b,#b45309);--c4:linear-gradient(145deg,#a855f7,#581c87);--c5:linear-gradient(145deg,#14b8a6,#0f766e);--c6:linear-gradient(145deg,#ef4444,#991b1b);--c7:linear-gradient(145deg,#ec4899,#9d174d);--c8:linear-gradient(145deg,#d9a53a,#9a6f1d)}
/* --- fenêtres (modales) des modules --- */
[style*="fixed"][style*="inset"]>div:first-child{border-radius:16px;box-shadow:0 24px 60px rgba(0,0,0,.45)}
[style*="fixed"][style*="inset"] button:not([class]):not([style*="color"]):not([style*="background"]){border:0;border-radius:10px;color:#fff;font-weight:700;background-image:var(--c2);box-shadow:var(--g3);text-shadow:0 1px 2px rgba(0,0,0,.3);transition:transform .15s,filter .15s}
[style*="fixed"][style*="inset"] button:not([class]):not([style*="color"]):not([style*="background"]):nth-of-type(6n+2){background-image:var(--c3)}
[style*="fixed"][style*="inset"] button:not([class]):not([style*="color"]):not([style*="background"]):nth-of-type(6n+3){background-image:var(--c4)}
[style*="fixed"][style*="inset"] button:not([class]):not([style*="color"]):not([style*="background"]):nth-of-type(6n+4){background-image:var(--c5)}
[style*="fixed"][style*="inset"] button:not([class]):not([style*="color"]):not([style*="background"]):nth-of-type(6n+5){background-image:var(--c7)}
[style*="fixed"][style*="inset"] button:not([class]):not([style*="color"]):not([style*="background"]):nth-of-type(6n){background-image:var(--c1)}
[style*="fixed"][style*="inset"] button:not([class]):not([style*="color"]):not([style*="background"]):hover{filter:brightness(1.1);transform:translateY(-2px)}
[style*="fixed"][style*="inset"] button[style*="background"]{box-shadow:var(--g3);border-radius:10px}
[style*="fixed"][style*="inset"] input,[style*="fixed"][style*="inset"] select,[style*="fixed"][style*="inset"] textarea{border-radius:10px;box-shadow:inset 0 2px 4px rgba(0,0,0,.12)}
[style*="fixed"][style*="inset"] thead tr,[style*="fixed"][style*="inset"] thead th{background-image:linear-gradient(180deg,#166534,#0E3B28);color:#fff}
[style*="fixed"][style*="inset"] tbody tr:nth-child(even){background:rgba(20,83,45,.05)}
[style*="fixed"][style*="inset"] tbody tr:hover{background:rgba(184,137,43,.14)}
[style*="fixed"][style*="inset"] h2,[style*="fixed"][style*="inset"] h3{color:#14532d}
@media print{button{box-shadow:none !important}}
