/* ==========================================================================
   GAWP / CRPZ - Tema "mondo corsi": nero, arancione vivo, evidenziazioni
   arancione chiaro, sottolineatura rossa sulle tab. Font Source Sans 3.
   La pagina vetrina NON usa questo file (resta verde).
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700;800&display=swap');

:root{
  --gawp-bg:#0A0A0A; --gawp-bg2:#141414; --gawp-line:#333;
  --gawp-orange:#FF8C00; --gawp-orange-light:#FFB347; --gawp-red:#E5493E; --gawp-text:#FFFFFF; --gawp-muted:#AAAAAA;
}

.crpz-dashboard-wrapper, .gawp-anagrafica-wrapper, #gawp-nomine-wrap, #gawp-corsi-wrap,
.azd-wrap, .az-modal, .gawp-modal__content, .registro-controls{
  font-family:'Source Sans 3','Source Sans Pro',-apple-system,'Segoe UI',Roboto,sans-serif;
}

/* Tab: sottolineatura rossa sull'attiva */
.crpz-nav-item, .az-seg-btn, .az-filter{ font-weight:600; }
.crpz-nav-item.active, .az-seg-btn.is-active, .az-filter.is-active{ border-bottom:3px solid var(--gawp-red); }

/* Tabelle dati nel mondo corsi: scure, compatte, testo mai bianco su bianco */
.az-table, .nomine-table, .azd-wrap table{ background:var(--gawp-bg) !important; color:var(--gawp-text); }
.az-table thead th, .nomine-table thead th, .azd-wrap table thead th{ background:var(--gawp-bg) !important; color:var(--gawp-orange) !important; border-bottom:2px solid var(--gawp-orange) !important; }
.az-table tbody tr:hover td, .nomine-table tbody tr:hover td{ background:rgba(255,140,0,.12) !important; }

/* Campi form scuri e coerenti (anche menu a tendina e date) */
.crpz-dashboard-wrapper select, .gawp-anagrafica-wrapper select, .az-modal select,
.crpz-dashboard-wrapper input[type=date], .gawp-anagrafica-wrapper input[type=date], .az-modal input[type=date]{
  background:var(--gawp-bg) !important; color:var(--gawp-text) !important; border:1px solid var(--gawp-orange); color-scheme:dark;
}
select option{ background:var(--gawp-bg2); color:var(--gawp-text); }
/* Icona calendario: con color-scheme:dark Chrome la disegna gia' chiara, quindi NIENTE invert (altrimenti diventa nera su nero) */
input[type=date], input[type=datetime-local], input[type=time], input[type=month], input[type=week]{ color-scheme:dark; }
input[type=date]::-webkit-calendar-picker-indicator, input[type=datetime-local]::-webkit-calendar-picker-indicator,
input[type=time]::-webkit-calendar-picker-indicator, input[type=month]::-webkit-calendar-picker-indicator{ filter:none !important; opacity:1; cursor:pointer; background-color:transparent !important; }

/* Pulsanti primari arancioni */
.button-primary, .gawp-btn, .crpz-btn-primary{ background:var(--gawp-orange) !important; color:#111 !important; border-color:var(--gawp-orange-light) !important; }
.button-primary:hover, .gawp-btn:hover, .crpz-btn-primary:hover{ background:var(--gawp-orange-light) !important; color:#111 !important; }

/* Link nelle schede */
.azd-wrap a, .nomine-table a{ color:var(--gawp-orange-light); }

/* Autocomplete / dropdown */
.ui-autocomplete, .az-dropdown, .az-comuni-dropdown, .az-search-results, .azd-sede-dropdown{ background:var(--gawp-bg2) !important; color:var(--gawp-text) !important; border:1px solid var(--gawp-orange) !important; }
.azd-autocomplete .azd-suggest{ background:var(--gawp-bg2) !important; color:var(--gawp-text) !important; border:1px solid var(--gawp-orange); }

/* Titoli di sezione nei form (es. Pianifica corso: "Moduli del corso", "Docenti ...") */
#gawp-pianifica h3, #gawp-pianifica h4, #gawp-pianifica h5, #gawp-pianifica legend,
.crpz-dashboard-wrapper h2, .crpz-dashboard-wrapper h3, .gawp-anagrafica-wrapper h3, .azd-wrap h4{
  color:var(--gawp-orange) !important;
}
#gawp-pianifica label{ color:var(--gawp-text); }

/* Header: visibile solo ai visitatori non loggati; dopo il login sparisce fino al logout
   (la navigazione e' nella Dashboard). Escluso l'editor/anteprima di Elementor e il Personalizza. */
body.logged-in:not(.elementor-editor-active):not(.elementor-editor-preview):not(.wp-customizer) #masthead,
body.logged-in:not(.elementor-editor-active):not(.elementor-editor-preview):not(.wp-customizer) .site-header,
body.logged-in:not(.elementor-editor-active):not(.elementor-editor-preview):not(.wp-customizer) header.site-header,
body.logged-in:not(.elementor-editor-active):not(.elementor-editor-preview):not(.wp-customizer) .elementor-location-header,
body.logged-in:not(.elementor-editor-active):not(.elementor-editor-preview):not(.wp-customizer) .ast-mobile-header-wrap,
body.logged-in:not(.elementor-editor-active):not(.elementor-editor-preview):not(.wp-customizer) .ast-desktop-header-wrap{ display:none !important; }

/* Menu contestuale (sottomenu utente: Esci ecc.) - sfondo scuro */
body .sub-menu, body .elementor-nav-menu--dropdown, body .elementor-nav-menu .sub-menu,
body .elementor-nav-menu--main .elementor-nav-menu--dropdown, body .dropdown-menu, body ul.children,
body .menu-item .sub-menu, body .elementor-widget-nav-menu .sub-menu, body .ast-hfb-header .sub-menu, body .main-header-menu .sub-menu{
  background:#141414 !important; background-color:#141414 !important; border:1px solid var(--gawp-orange) !important; box-shadow:0 8px 24px rgba(0,0,0,.6) !important;
}
body .sub-menu a, body .elementor-nav-menu--dropdown a, body .dropdown-menu a, body .elementor-sub-item{ color:#FFFFFF !important; background:transparent !important; }
body .sub-menu a:hover, body .elementor-nav-menu--dropdown a:hover, body .dropdown-menu a:hover, body .elementor-sub-item:hover{ color:#111 !important; background:var(--gawp-orange) !important; }

/* Titoli di finestre/modali e fieldset: arancione, mai verde del tema */
.gawp-modal-header h2, .gawp-modal-header h3, .gawp-modal-content h2, .gawp-modal-content h3,
.az-modal-header h2, .gawp-modal__header h3, .gawp-modal__header h2,
#gawp-nomine-wrap h2, #gawp-nomine-wrap h3, #gawp-nomine-wrap h4, #gawp-nomine-wrap h5, #gawp-nomine-wrap legend,
.crpz-form legend, .gawp-fieldset legend, fieldset legend{ color:var(--gawp-orange) !important; }

/* Hover link: sempre arancione chiaro nelle aree del plugin */
.crpz-dashboard-wrapper a:hover, .gawp-anagrafica-wrapper a:hover, #gawp-nomine-wrap a:hover, #gawp-corsi-wrap a:hover,
.azd-wrap a:hover, .crpz-scad-link:hover, .nomine-table a:hover, .az-table a:hover{ color:var(--gawp-orange-light) !important; }

/* Pagina accedi: campi sempre scuri con testo bianco, anche se compilati o auto-compilati dal browser */
.custom-login-form input:-webkit-autofill, .custom-login-form input:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 1000px #0A0A0A inset !important; -webkit-text-fill-color:#FFFFFF !important; caret-color:#FFFFFF;
}

/* Sfondo scuro continuo: evita strisce bianche sotto il contenuto (es. in fondo a gestione-documenti) */
html, body, #page, #content, .site-content, .ast-container, #primary, #main, .ast-separate-container, .ast-separate-container .site-main,
.ast-plain-container, .site-main, .entry-content, .ast-article-single, .ast-article-post{ background-color:#0A0A0A !important; }
.panix-doc-wrap, .panix-documenti, #panix-documenti, [class*="panix-doc"]{ background:transparent !important; color:#FFFFFF; }
[class*="panix-"] .panix-paginazione, [class*="panix-"] .tablenav, [class*="panix-"] .pagination, [class*="panix-"] tfoot, [class*="panix-"] tfoot td{ background:#0A0A0A !important; color:#FFFFFF !important; border-color:#333 !important; }

/* Menu a tendina nella scheda azienda (RSPP / Medico competente) */
.azd-wrap select, .azd-sel-ruolo{ background:#0A0A0A !important; color:#FFFFFF !important; border:1px solid var(--gawp-orange) !important; border-radius:5px; padding:3px 6px; color-scheme:dark; }
.azd-wrap select option{ background:#141414; color:#FFFFFF; }


/* ==========================================================================
   MODERN LAYER - stile "app": superfici a livelli, raggi ampi, pillole,
   bagliori arancioni, micro-animazioni. Stessa palette di sempre.
   Tutto in coda al file: per tornare al look precedente basta togliere
   questo blocco.
   ========================================================================== */
:root{
  --gm-surface:#121212; --gm-raised:#1A1A1A; --gm-stroke:#2A2A2A;
  --gm-glow:rgba(255,140,0,.28); --gm-tint:rgba(255,140,0,.10);
  --gm-r:16px; --gm-ease:cubic-bezier(.2,.8,.2,1);
}
body.logged-in ::selection{ background:var(--gawp-orange); color:#111; }


/* Sfondo con bagliori morbidi (le fasce del tema diventano trasparenti, il colore resta sul body) */
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi){
  background-color:#0A0A0A !important;
  background-image:
    radial-gradient(900px 520px at 88% -8%, rgba(255,140,0,.13), transparent 62%),
    radial-gradient(700px 420px at -8% 6%, rgba(229,73,62,.09), transparent 60%);
  background-attachment:fixed;
}
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) #page, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) #content, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .site-content, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .ast-container,
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) #primary, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) #main, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .ast-separate-container, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .site-main,
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .entry-content, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .ast-article-single, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .ast-article-post,
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .ast-plain-container{ background-color:transparent !important; }
body .crpz-dashboard-wrapper{ background:transparent; }

/* Scrollbar sottili */
body.logged-in *{ scrollbar-width:thin; scrollbar-color:#3A3A3A transparent; }
::-webkit-scrollbar{ width:8px; height:8px; } ::-webkit-scrollbar-thumb{ background:#333; border-radius:8px; } ::-webkit-scrollbar-thumb:hover{ background:var(--gawp-orange); }

/* Titoli: piu' grandi, tracking stretto */
body .crpz-dashboard-wrapper h2, body .gawp-anagrafica-wrapper h2, body #gawp-nomine-wrap h2, body #gawp-corsi-wrap h2, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .entry-header .entry-title{
  font-weight:800; letter-spacing:-.02em;
}
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .entry-header .entry-title{ font-size:clamp(28px,4vw,42px); color:#FFF !important;
  background:linear-gradient(90deg,#FFFFFF 0%,#FFB347 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* Intestazione dashboard: card con filo luminoso in alto */
body .crpz-dashboard-header{
  position:relative; overflow:hidden; border:1px solid rgba(255,140,0,.38); border-radius:22px;
  background:linear-gradient(135deg,#1A1A1A 0%,#0F0F0F 60%,#0A0A0A 100%);
  box-shadow:0 24px 60px -28px rgba(255,140,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
}
body .crpz-dashboard-header::before{
  content:""; position:absolute; left:0; right:0; top:0; height:3px;
  background:linear-gradient(90deg,var(--gawp-orange),var(--gawp-orange-light) 55%,var(--gawp-red));
}
body .crpz-dashboard-header::after{
  content:""; position:absolute; right:-80px; top:-80px; width:240px; height:240px; border-radius:50%;
  background:radial-gradient(circle,rgba(255,140,0,.22),transparent 70%); pointer-events:none;
}

/* Tab: barra scorrevole come nell'app, attiva con sottolineatura rossa */
body .crpz-dashboard-nav{
  display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch;
  position:sticky; top:0; z-index:50; padding:6px 6px 0; margin-bottom:22px;
  background:rgba(10,10,10,.78); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid var(--gm-stroke); border-radius:16px;
}
body.admin-bar .crpz-dashboard-nav{ top:32px; }
body .crpz-dashboard-nav::-webkit-scrollbar{ display:none; }
body .crpz-nav-item{ white-space:nowrap; border-radius:12px 12px 0 0; padding:12px 18px; color:#C9C9C9; transition:color .2s, background .2s, border-color .2s; }
body .crpz-nav-item:hover{ color:#FFF; background:var(--gm-tint); }
body .crpz-nav-item.active{ color:#FFF; background:linear-gradient(180deg,transparent,rgba(255,140,0,.14)); }

/* Card: statistiche e azioni rapide */
body .crpz-stat-card, body .crpz-action-card{
  position:relative; background:linear-gradient(160deg,var(--gm-raised),var(--gm-surface));
  border:1px solid var(--gm-stroke); border-radius:var(--gm-r);
  box-shadow:0 10px 30px -18px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04);
  transition:transform .28s var(--gm-ease), border-color .28s, box-shadow .28s;
}
body .crpz-stat-card:hover, body .crpz-action-card:hover{
  transform:translateY(-4px); border-color:rgba(255,140,0,.7);
  box-shadow:0 18px 40px -16px var(--gm-glow), inset 0 1px 0 rgba(255,255,255,.06);
}
body .crpz-stat-value{ font-weight:800; letter-spacing:-.03em;
  background:linear-gradient(180deg,#FFFFFF,#FFB347); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
body .crpz-stat-label{ text-transform:uppercase; letter-spacing:.08em; font-size:12px; color:var(--gawp-muted); }
body .crpz-icon-badge, body .crpz-action-icon, body .crpz-stat-icon{ transition:transform .28s var(--gm-ease); }
body .crpz-action-card:hover .crpz-icon-badge, body .crpz-action-card:hover .crpz-action-icon, body .crpz-stat-card:hover .crpz-stat-icon{ transform:scale(1.12) rotate(-4deg); }

/* Sezioni: filo sfumato al posto della riga piena */
body .crpz-section{ border-bottom:0; position:relative; }
body .crpz-section::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:linear-gradient(90deg,var(--gawp-orange),rgba(255,140,0,.15) 55%,transparent); }
body .crpz-courses-section h4{ border-bottom:0; display:flex; align-items:center; gap:10px; }
body .crpz-courses-section h4::before{ content:""; width:6px; height:20px; border-radius:6px; background:linear-gradient(180deg,var(--gawp-orange-light),var(--gawp-red)); }

/* Tabelle: intestazioni "etichetta", riga attiva con barra arancione, angoli arrotondati */
body .az-table-wrap, body .crpz-table-responsive{ border-radius:var(--gm-r); box-shadow:0 0 0 1px var(--gm-stroke), 0 24px 50px -28px rgba(0,0,0,.9); }
body .az-table thead th, body .nomine-table thead th, body .crpz-table th, body .azd-wrap table thead th{
  text-transform:uppercase; letter-spacing:.07em; font-size:12px; font-weight:700;
}
body .az-table tbody td, body .nomine-table tbody td, body .crpz-table td{ transition:background .18s, box-shadow .18s; border-bottom-color:#232323 !important; }
body .az-table tbody tr:hover td:first-child, body .nomine-table tbody tr:hover td:first-child, body .crpz-table tbody tr:hover td:first-child{ box-shadow:inset 3px 0 0 var(--gawp-orange); }
body .crpz-table tr:hover{ box-shadow:none; }
body .crpz-table tbody tr:hover td{ background:var(--gm-tint); }

/* Pulsanti: pillola, gradiente e bagliore */
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .button, body .crpz-btn, body .gawp-btn, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) button.button, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) input[type=submit].button{
  border-radius:999px !important; font-weight:700; letter-spacing:.01em; padding:8px 20px;
  transition:transform .2s var(--gm-ease), box-shadow .2s, background .2s, border-color .2s;
}
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .button:not(.button-primary):not(.gawp-btn):not(.crpz-btn-primary){
  background:var(--gm-raised); color:#FFF; border:1px solid rgba(255,140,0,.55);
}
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .button:not(.button-primary):not(.gawp-btn):not(.crpz-btn-primary):hover{ background:var(--gm-tint); border-color:var(--gawp-orange-light); color:#FFF; transform:translateY(-1px); }
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .button-primary, body .gawp-btn, body .crpz-btn-primary{
  background:linear-gradient(135deg,var(--gawp-orange-light),var(--gawp-orange)) !important; border:0 !important; color:#111 !important;
  box-shadow:0 10px 24px -10px var(--gm-glow), inset 0 1px 0 rgba(255,255,255,.35);
}
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .button-primary:hover, body .gawp-btn:hover, body .crpz-btn-primary:hover{
  transform:translateY(-2px); box-shadow:0 16px 30px -10px rgba(255,140,0,.55), inset 0 1px 0 rgba(255,255,255,.4); filter:brightness(1.05);
}
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .button:active, body .crpz-btn:active, body .gawp-btn:active{ transform:translateY(0) scale(.98); }
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .button:disabled, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) .button[disabled], body .crpz-btn:disabled{ opacity:.45; box-shadow:none; transform:none; cursor:not-allowed; }

/* Campi: raggi morbidi e anello luminoso al focus */
body .crpz-dashboard-wrapper input:not([type=checkbox]):not([type=radio]), body .gawp-anagrafica-wrapper input:not([type=checkbox]):not([type=radio]),
body #gawp-pianifica input:not([type=checkbox]):not([type=radio]), body #gawp-nomine-wrap input:not([type=checkbox]):not([type=radio]),
body .az-modal input:not([type=checkbox]):not([type=radio]), body .gawp-modal__content input:not([type=checkbox]):not([type=radio]),
body .crpz-dashboard-wrapper select, body .gawp-anagrafica-wrapper select, body #gawp-pianifica select, body #gawp-nomine-wrap select,
body .crpz-dashboard-wrapper textarea, body #gawp-pianifica textarea, body .az-modal textarea, body .gawp-modal__content textarea{
  border-radius:12px; transition:border-color .2s, box-shadow .2s, background .2s;
}
body .crpz-dashboard-wrapper input:focus, body .gawp-anagrafica-wrapper input:focus, body #gawp-pianifica input:focus, body #gawp-nomine-wrap input:focus,
body .az-modal input:focus, body .gawp-modal__content input:focus, body .crpz-dashboard-wrapper select:focus, body #gawp-pianifica select:focus,
body .crpz-dashboard-wrapper textarea:focus, body #gawp-pianifica textarea:focus, body .az-modal textarea:focus{
  outline:none; border-color:var(--gawp-orange-light) !important; box-shadow:0 0 0 4px rgba(255,140,0,.20);
}
:is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) a:focus-visible, :is(body.logged-in,body:has(.custom-login-form,.crpz-registration-wrapper),body.gawp-elenco-corsi) button:focus-visible{ outline:2px solid var(--gawp-orange-light); outline-offset:2px; border-radius:8px; }
body .crpz-form-group label, body .gawp-form-group label{ font-size:13px; font-weight:600; letter-spacing:.02em; color:#D8D8D8; }

/* Pillole (selezioni): chip arancione trasparente come nell'app */
body .pill, body .tag-list li, body #mm_arg_list li{
  background:var(--gm-tint); border:1px solid rgba(255,140,0,.45); color:var(--gawp-orange-light); border-radius:999px; font-weight:600;
}
body .pill .rm, body .tag-list .rm{ color:var(--gawp-orange-light); opacity:.8; transition:opacity .15s, transform .15s; }
body .pill .rm:hover, body .tag-list .rm:hover{ opacity:1; transform:scale(1.2); color:#FFF; }

/* Messaggi */
body .crpz-notice{ border-radius:14px; border:1px solid var(--gm-stroke); border-left-width:4px; box-shadow:0 10px 26px -18px #000; }
body .crpz-empty-state{ border:1px dashed rgba(255,140,0,.35); border-radius:var(--gm-r); background:rgba(255,140,0,.04); }

/* Finestre modali: vetro scuro con bordo luminoso */
body .gawp-modal__backdrop, body .az-modal-backdrop, body .gawp-modal-overlay{ background:rgba(0,0,0,.62) !important; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
body .gawp-modal__content, body .az-modal-content, body .gawp-modal-content{
  border-radius:22px !important; border:1px solid rgba(255,140,0,.38) !important;
  box-shadow:0 40px 90px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03), 0 0 60px -20px var(--gm-glow) !important;
  animation:gm-pop .28s var(--gm-ease) both;
}
body .gawp-modal__header, body .gawp-modal__footer{ border-color:var(--gm-stroke) !important; }
body .gawp-modal__close{ border-radius:50%; width:32px; height:32px; transition:background .2s, transform .2s; }
body .gawp-modal__close:hover{ background:var(--gm-tint); transform:rotate(90deg); }

/* Autocomplete e menu a tendina: pannelli arrotondati */
body .ui-autocomplete, body .az-dropdown, body .az-comuni-dropdown, body .az-search-results, body .azd-sede-dropdown{
  border-radius:14px !important; overflow:hidden; box-shadow:0 24px 50px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(255,140,0,.15) !important;
}
body .ui-menu-item-wrapper.ui-state-active, body .ui-state-active, body .ui-menu .ui-state-active{
  background:var(--gawp-orange) !important; color:#111 !important; border:0 !important; border-radius:8px;
}

/* Calendario */
body #cal-corsi{ border-radius:var(--gm-r); }
body .fc .fc-button{ border-radius:999px; font-weight:700; text-transform:none; }
body .fc .fc-event{ border-radius:8px; border:0; box-shadow:0 6px 14px -8px #000; }
body .fc .fc-toolbar-title{ font-weight:800; letter-spacing:-.01em; }

/* Schede azienda/persona e wrapper pagine: pannelli a livelli */
body .azd-wrap, body .crpz-az-scheda-grid > *, body .gawp-anagrafica-wrapper .gawp-card{
  border-radius:var(--gm-r);
}
body .azd-wrap{ background:linear-gradient(160deg,var(--gm-raised),var(--gm-surface)); border:1px solid var(--gm-stroke); box-shadow:0 20px 50px -28px #000; }

/* Link "← Gestione": chip discreto */
body .gawp-backlink, body a.gawp-back{ display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border:1px solid var(--gm-stroke); border-radius:999px; background:var(--gm-surface); transition:border-color .2s, transform .2s; }
body .gawp-backlink:hover, body a.gawp-back:hover{ border-color:var(--gawp-orange); transform:translateX(-2px); }

/* Ingresso morbido dei contenuti */
@keyframes gm-rise{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
@keyframes gm-pop{ from{ opacity:0; transform:translateY(10px) scale(.97); } to{ opacity:1; transform:none; } }
body .crpz-dashboard-header, body .crpz-dashboard-content > *, body .crpz-stat-card, body .crpz-action-card,
body .az-table-wrap, body #gawp-pianifica > *, body #gawp-nomine-wrap > *{ animation:gm-rise .5s var(--gm-ease) both; }
body .crpz-stat-card:nth-child(2), body .crpz-action-card:nth-child(2){ animation-delay:.05s; }
body .crpz-stat-card:nth-child(3), body .crpz-action-card:nth-child(3){ animation-delay:.10s; }
body .crpz-stat-card:nth-child(4), body .crpz-action-card:nth-child(4){ animation-delay:.15s; }
body .crpz-action-card:nth-child(5){ animation-delay:.20s; } body .crpz-action-card:nth-child(6){ animation-delay:.25s; }
body .crpz-action-card:nth-child(n+7){ animation-delay:.30s; }
@media (prefers-reduced-motion:reduce){ body *{ animation:none !important; transition:none !important; } html{ scroll-behavior:auto; } }

/* Mobile: tab piu' compatte, card a tutta larghezza */
@media (max-width:640px){
  body .crpz-dashboard-wrapper{ padding:12px; }
  body .crpz-dashboard-header{ padding:20px; border-radius:18px; flex-direction:column; align-items:flex-start; gap:12px; }
  body .crpz-nav-item{ padding:11px 14px; font-size:15px; }
  body .crpz-stats-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  body .crpz-stat-card, body .crpz-action-card{ padding:18px; }
}

/* Link mai sottolineati (neanche al passaggio del mouse o al focus) nell'area post login */
body.logged-in .entry-content a, body.logged-in .crpz-dashboard-wrapper a, body.logged-in .gawp-anagrafica-wrapper a,
body.logged-in #gawp-nomine-wrap a, body.logged-in #gawp-corsi-wrap a, body.logged-in #gawp-pianifica a, body.logged-in .azd-wrap a,
body.logged-in .az-modal a, body.logged-in .gawp-modal__content a, body.logged-in .panix-doc-wrap a, body.logged-in [class*="panix-"] a,
body.logged-in .entry-content a:hover, body.logged-in .crpz-dashboard-wrapper a:hover, body.logged-in .gawp-anagrafica-wrapper a:hover,
body.logged-in #gawp-nomine-wrap a:hover, body.logged-in #gawp-corsi-wrap a:hover, body.logged-in .azd-wrap a:hover,
body.logged-in .entry-content a:focus, body.logged-in .crpz-dashboard-wrapper a:focus, body.logged-in .entry-content a:active{
  text-decoration:none !important; border-bottom:0;
}


/* ==========================================================================
   Pagina di registrazione: stesso mondo scuro/arancione della pagina accedi
   ========================================================================== */
body .crpz-registration-wrapper{ font-family:'Source Sans 3','Source Sans Pro',-apple-system,'Segoe UI',Roboto,sans-serif; color:#FFF; }
body .crpz-form{ position:relative; overflow:hidden; background:linear-gradient(160deg,#1A1A1A,#0F0F0F 70%); border:1px solid rgba(255,140,0,.38); border-radius:22px;
  box-shadow:0 40px 90px -34px rgba(0,0,0,.95), 0 0 70px -26px rgba(255,140,0,.4), inset 0 1px 0 rgba(255,255,255,.05); animation:gm-pop .5s var(--gm-ease,ease) both; }
body .crpz-form::before{ content:""; position:absolute; left:0; right:0; top:0; height:3px; background:linear-gradient(90deg,#FF8C00,#FFB347 55%,#E5493E); }
body .crpz-form-header{ border-bottom-color:#2A2A2A; }
body .crpz-form-header h2{ color:#FFF; font-weight:800; letter-spacing:-.02em; background:linear-gradient(90deg,#FFF,#FFB347); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
body .crpz-form-subtitle, body .crpz-field-hint, body .crpz-checkbox-text small{ color:#AAAAAA; }
body .crpz-form-group label{ color:#FFB347; font-size:13px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; }
body .crpz-form-group input[type=text], body .crpz-form-group input[type=email], body .crpz-form-group input[type=password], body .crpz-form-group select{
  background:#0A0A0A; color:#FFF; border:1px solid #333; border-radius:12px; color-scheme:dark; }
body .crpz-form-group input:focus, body .crpz-form-group select:focus{ border-color:#FFB347; box-shadow:0 0 0 4px rgba(255,140,0,.20); }
body .crpz-autocomplete-dropdown{ background:#141414; border:1px solid #FF8C00; box-shadow:0 24px 50px -16px #000; }
body .crpz-autocomplete-item{ color:#FFF; border-bottom-color:#2A2A2A; }
body .crpz-autocomplete-item:hover{ background:#FF8C00; color:#111; }
body .crpz-autocomplete-item .provincia{ color:#AAA; }
body .crpz-radio-custom, body .crpz-checkbox-custom{ background:#0A0A0A; border-color:#555; }
body .crpz-radio-label input:checked + .crpz-radio-custom{ border-color:#FF8C00; }
body .crpz-radio-label input:checked + .crpz-radio-custom::after{ background:#FF8C00; }
body .crpz-checkbox-label input:checked + .crpz-checkbox-custom{ background:#FF8C00; border-color:#FF8C00; }
body .crpz-checkbox-label input:checked + .crpz-checkbox-custom::after{ color:#111; }
body .crpz-highlight-box{ background:rgba(255,140,0,.08); border:1px solid rgba(255,140,0,.35); }
body .crpz-checkbox-text strong{ color:#FFF; }
body .crpz-checkbox-text a, body .crpz-form-footer a{ color:#FFB347; text-decoration:none; font-weight:600; }
body .crpz-password-strength{ background:#2A2A2A; }
body .crpz-password-strength .strength-bar.weak{ background:#E5493E; }
body .crpz-password-strength .strength-bar.medium{ background:#FFB347; }
body .crpz-password-strength .strength-bar.strong{ background:#FF8C00; }
body .crpz-notice-error{ background:rgba(229,73,62,.12); border-color:rgba(229,73,62,.5); color:#FF8C7A; }
body .crpz-notice-success{ background:rgba(255,140,0,.12); border-color:rgba(255,140,0,.5); color:#FFB347; }
body .crpz-notice-info{ background:#1A1A1A; border-color:#333; color:#DDD; }
body .crpz-registration-wrapper .crpz-btn-primary{ background:linear-gradient(135deg,#FFB347,#FF8C00) !important; color:#111 !important; border:0 !important; border-radius:999px; font-weight:800;
  box-shadow:0 14px 30px -12px rgba(255,140,0,.6), inset 0 1px 0 rgba(255,255,255,.35); }
body .crpz-registration-wrapper .crpz-btn-primary:hover{ transform:translateY(-2px); filter:brightness(1.06); }


/* ==========================================================================
   TABELLE DI GESTIONE - un solo aspetto per tutte (modello: anagrafica aziende)
   Persone, corsi, moduli, corsi pianificati/svolti, nomine, scadenziario,
   elenchi del mondo corsi. Le larghezze restano quelle di ogni pagina.
   ========================================================================== */
body .az-table,
body .tabella-corsi,
body .tabella-moduli,
body .cps-table,
body #anagrafica-table,
body .anagrafica-table,
body .gawp-table,
body .nomine-table,
body .crpz-scad-table,
body table.wp-list-table{
  width:100%; border:2px solid #FF8C00 !important; border-radius:14px; border-collapse:separate !important; border-spacing:0 !important;
  background:#0A0A0A !important; color:#FFFFFF; box-shadow:0 24px 50px -30px rgba(255,140,0,.35);
}
body .az-table thead,
body .tabella-corsi thead,
body .tabella-moduli thead,
body .cps-table thead,
body #anagrafica-table thead,
body .anagrafica-table thead,
body .gawp-table thead,
body .nomine-table thead,
body .crpz-scad-table thead,
body table.wp-list-table thead, body .az-table thead tr,
body .tabella-corsi thead tr,
body .tabella-moduli thead tr,
body .cps-table thead tr,
body #anagrafica-table thead tr,
body .anagrafica-table thead tr,
body .gawp-table thead tr,
body .nomine-table thead tr,
body .crpz-scad-table thead tr,
body table.wp-list-table thead tr{ background:#0A0A0A !important; }
body .az-table thead th,
body .tabella-corsi thead th,
body .tabella-moduli thead th,
body .cps-table thead th,
body #anagrafica-table thead th,
body .anagrafica-table thead th,
body .gawp-table thead th,
body .nomine-table thead th,
body .crpz-scad-table thead th,
body table.wp-list-table thead th{
  background:#0A0A0A !important; color:#FF8C00 !important; font-size:13px !important; font-weight:700 !important; text-transform:uppercase; letter-spacing:.06em;
  padding:9px 8px !important; border-bottom:2px solid #FF8C00 !important; border-right:1px solid rgba(255,140,0,.25) !important; text-align:left; white-space:nowrap;
}
body .az-table thead th:last-child,
body .tabella-corsi thead th:last-child,
body .tabella-moduli thead th:last-child,
body .cps-table thead th:last-child,
body #anagrafica-table thead th:last-child,
body .anagrafica-table thead th:last-child,
body .gawp-table thead th:last-child,
body .nomine-table thead th:last-child,
body .crpz-scad-table thead th:last-child,
body table.wp-list-table thead th:last-child{ border-right:0 !important; }
body .az-table thead th:first-child,
body .tabella-corsi thead th:first-child,
body .tabella-moduli thead th:first-child,
body .cps-table thead th:first-child,
body #anagrafica-table thead th:first-child,
body .anagrafica-table thead th:first-child,
body .gawp-table thead th:first-child,
body .nomine-table thead th:first-child,
body .crpz-scad-table thead th:first-child,
body table.wp-list-table thead th:first-child{ border-top-left-radius:12px; }
body .az-table thead th:last-child,
body .tabella-corsi thead th:last-child,
body .tabella-moduli thead th:last-child,
body .cps-table thead th:last-child,
body #anagrafica-table thead th:last-child,
body .anagrafica-table thead th:last-child,
body .gawp-table thead th:last-child,
body .nomine-table thead th:last-child,
body .crpz-scad-table thead th:last-child,
body table.wp-list-table thead th:last-child{ border-top-right-radius:12px; }
body .az-table tbody tr,
body .tabella-corsi tbody tr,
body .tabella-moduli tbody tr,
body .cps-table tbody tr,
body #anagrafica-table tbody tr,
body .anagrafica-table tbody tr,
body .gawp-table tbody tr,
body .nomine-table tbody tr,
body .crpz-scad-table tbody tr,
body table.wp-list-table tbody tr, body .az-table tbody tr:nth-child(odd),
body .tabella-corsi tbody tr:nth-child(odd),
body .tabella-moduli tbody tr:nth-child(odd),
body .cps-table tbody tr:nth-child(odd),
body #anagrafica-table tbody tr:nth-child(odd),
body .anagrafica-table tbody tr:nth-child(odd),
body .gawp-table tbody tr:nth-child(odd),
body .nomine-table tbody tr:nth-child(odd),
body .crpz-scad-table tbody tr:nth-child(odd),
body table.wp-list-table tbody tr:nth-child(odd), body .az-table tbody tr:nth-child(even),
body .tabella-corsi tbody tr:nth-child(even),
body .tabella-moduli tbody tr:nth-child(even),
body .cps-table tbody tr:nth-child(even),
body #anagrafica-table tbody tr:nth-child(even),
body .anagrafica-table tbody tr:nth-child(even),
body .gawp-table tbody tr:nth-child(even),
body .nomine-table tbody tr:nth-child(even),
body .crpz-scad-table tbody tr:nth-child(even),
body table.wp-list-table tbody tr:nth-child(even){
  background:#0A0A0A !important; color:#FFFFFF !important; transition:box-shadow .2s, transform .2s;
}
body .az-table tbody td,
body .tabella-corsi tbody td,
body .tabella-moduli tbody td,
body .cps-table tbody td,
body #anagrafica-table tbody td,
body .anagrafica-table tbody td,
body .gawp-table tbody td,
body .nomine-table tbody td,
body .crpz-scad-table tbody td,
body table.wp-list-table tbody td{
  background:transparent !important; color:#FFFFFF !important; padding:6px 8px !important; font-size:14px !important;
  border-top:0 !important; border-right:1px solid #333 !important; border-bottom:1px solid #333 !important; vertical-align:middle;
}
body .az-table tbody tr:last-child td,
body .tabella-corsi tbody tr:last-child td,
body .tabella-moduli tbody tr:last-child td,
body .cps-table tbody tr:last-child td,
body #anagrafica-table tbody tr:last-child td,
body .anagrafica-table tbody tr:last-child td,
body .gawp-table tbody tr:last-child td,
body .nomine-table tbody tr:last-child td,
body .crpz-scad-table tbody tr:last-child td,
body table.wp-list-table tbody tr:last-child td{ border-bottom:0 !important; }
body .az-table tbody td:last-child,
body .tabella-corsi tbody td:last-child,
body .tabella-moduli tbody td:last-child,
body .cps-table tbody td:last-child,
body #anagrafica-table tbody td:last-child,
body .anagrafica-table tbody td:last-child,
body .gawp-table tbody td:last-child,
body .nomine-table tbody td:last-child,
body .crpz-scad-table tbody td:last-child,
body table.wp-list-table tbody td:last-child{ border-right:0 !important; }
body .az-table tbody tr:hover,
body .tabella-corsi tbody tr:hover,
body .tabella-moduli tbody tr:hover,
body .cps-table tbody tr:hover,
body #anagrafica-table tbody tr:hover,
body .anagrafica-table tbody tr:hover,
body .gawp-table tbody tr:hover,
body .nomine-table tbody tr:hover,
body .crpz-scad-table tbody tr:hover,
body table.wp-list-table tbody tr:hover{ background:#0A0A0A !important; box-shadow:inset 0 0 0 1px #FFB347; transform:translateX(2px); }
body .az-table tbody tr:hover td:first-child,
body .tabella-corsi tbody tr:hover td:first-child,
body .tabella-moduli tbody tr:hover td:first-child,
body .cps-table tbody tr:hover td:first-child,
body #anagrafica-table tbody tr:hover td:first-child,
body .anagrafica-table tbody tr:hover td:first-child,
body .gawp-table tbody tr:hover td:first-child,
body .nomine-table tbody tr:hover td:first-child,
body .crpz-scad-table tbody tr:hover td:first-child,
body table.wp-list-table tbody tr:hover td:first-child{ box-shadow:inset 3px 0 0 #FF8C00; }
body .no-moduli td, body .no-data td{ color:#AAAAAA !important; font-style:italic; text-align:center; padding:20px !important; }

/* Colonna azioni (ultima) e icone di azione: uguali ovunque */
body .az-table thead th:last-child,
body .tabella-corsi thead th:last-child,
body .tabella-moduli thead th:last-child,
body .cps-table thead th:last-child,
body #anagrafica-table thead th:last-child,
body .anagrafica-table thead th:last-child,
body .gawp-table thead th:last-child, body .az-table tbody td:last-child,
body .tabella-corsi tbody td:last-child,
body .tabella-moduli tbody td:last-child,
body .cps-table tbody td:last-child,
body #anagrafica-table tbody td:last-child,
body .anagrafica-table tbody td:last-child,
body .gawp-table tbody td:last-child{ text-align:center; white-space:nowrap; }
body .az-table tbody td:last-child,
body .tabella-corsi tbody td:last-child,
body .tabella-moduli tbody td:last-child,
body .cps-table tbody td:last-child,
body #anagrafica-table tbody td:last-child,
body .anagrafica-table tbody td:last-child,
body .gawp-table tbody td:last-child{ min-width:120px; }
body .az-table tbody td a,
body .tabella-corsi tbody td a,
body .tabella-moduli tbody td a,
body .cps-table tbody td a,
body #anagrafica-table tbody td a,
body .anagrafica-table tbody td a,
body .gawp-table tbody td a{ font-size:18px; display:inline-block; margin:0 4px; text-decoration:none !important; vertical-align:middle; line-height:1; transition:transform .2s, filter .2s; }
body .az-table tbody td a:hover,
body .tabella-corsi tbody td a:hover,
body .tabella-moduli tbody td a:hover,
body .cps-table tbody td a:hover,
body #anagrafica-table tbody td a:hover,
body .anagrafica-table tbody td a:hover,
body .gawp-table tbody td a:hover{ transform:scale(1.3); filter:drop-shadow(0 0 4px #FFB347); }
body .panix-doc-table{ border:2px solid #FF8C00; border-radius:14px; border-collapse:separate; border-spacing:0; }
body .panix-doc-table thead th{ text-transform:uppercase; letter-spacing:.06em; font-size:13px; }

/* ==========================================================================
   COMBO BOX / MENU A TENDINA: hover e selezione arancioni (mai azzurrini)
   ========================================================================== */
select option:hover, select option:focus, select option:checked, select option:active{
  background-color:#FF8C00 !important; background-image:linear-gradient(#FF8C00,#FF8C00) !important; color:#111111 !important;
}
select{ accent-color:#FF8C00; }
/* Chrome/Edge recenti: menu a tendina personalizzabile */
@supports (appearance:base-select){
  body .crpz-dashboard-wrapper select, body .gawp-anagrafica-wrapper select, body #gawp-pianifica select, body #gawp-nomine-wrap select,
  body #gawp-corsi-wrap select, body .azd-wrap select, body .az-modal select, body .gawp-modal__content select, body .panix-doc-wrap select,
  body .crpz-registration-wrapper select{ appearance:base-select; }
  body .crpz-dashboard-wrapper select::picker(select), body .gawp-anagrafica-wrapper select::picker(select), body #gawp-pianifica select::picker(select),
  body #gawp-nomine-wrap select::picker(select), body #gawp-corsi-wrap select::picker(select), body .azd-wrap select::picker(select),
  body .az-modal select::picker(select), body .gawp-modal__content select::picker(select), body .panix-doc-wrap select::picker(select),
  body .crpz-registration-wrapper select::picker(select){
    appearance:base-select; background:#141414; border:1px solid #FF8C00; border-radius:12px; padding:4px; color:#FFFFFF;
    box-shadow:0 24px 50px -16px #000, 0 0 0 1px rgba(255,140,0,.2);
  }
  body select option{ padding:8px 12px; border-radius:8px; color:#FFFFFF; background:transparent; }
  body select option:hover, body select option:focus-visible, body select option:checked{ background:#FF8C00 !important; color:#111111 !important; }
  body select option::checkmark{ color:#111111; }
}
/* Suggerimenti / autocomplete / liste a discesa personalizzate */
body .ui-menu .ui-menu-item-wrapper:hover, body .ui-menu .ui-state-hover, body .ui-menu .ui-state-focus, body .ui-menu .ui-state-active,
body .ui-autocomplete .ui-menu-item:hover > .ui-menu-item-wrapper, body .ui-widget-content .ui-state-hover, body .ui-widget-content .ui-state-focus,
body .gawp-suggestion:hover, body .gawp-comune-item:hover, body .az-dropdown li:hover, body .az-dropdown div:hover, body .az-dropdown a:hover,
body .az-comuni-dropdown li:hover, body .az-comuni-dropdown div:hover, body .az-search-results li:hover, body .az-search-results div:hover,
body .azd-suggest div:hover, body .azd-sede-dropdown div:hover, body .azd-sede-dropdown li:hover, body .panix-doc-suggestion-item:hover,
body .crpz-autocomplete-item:hover, body .crpz-qa-item:hover, body .cps-aggiungi-partecipante-item:hover{
  background:#FF8C00 !important; color:#111111 !important; border-color:transparent !important; margin:0 !important;
}
/* Anagrafica aziende: l'ultima colonna resta ferma (sticky) quindi deve avere sfondo pieno */
body .az-table thead th:last-child, body .az-table tbody td:last-child{ background:#0A0A0A !important; }

/* Righe di dettaglio espandibili (persone, corsi, pianificati): testo a sinistra, nessun effetto hover e niente centratura */
body .az-table tbody td[colspan], body .tabella-corsi tbody td[colspan], body #anagrafica-table tbody td[colspan], body .anagrafica-table tbody td[colspan],
body .cps-table tbody td[colspan], body .gawp-table tbody td[colspan], body .tabella-moduli tbody td[colspan],
body .dettagli-container, body .dettagli-corso-container, body .cps-details-box{
  text-align:left !important; white-space:normal !important; min-width:0 !important;
}
body .dettagli-row:hover, body .dettagli-corso-row:hover, body .cps-details-row:hover,
body .dettagli-row:hover td, body .dettagli-corso-row:hover td, body .cps-details-row:hover td{
  transform:none !important; box-shadow:none !important;
}
body .dettagli-row td, body .dettagli-corso-row td, body .cps-details-row td{ padding:14px 16px !important; }

/* Stati: pallino-icona davanti all'etichetta. Verde = attivo/valido; rosso = cessato/scaduto/revocato/disattivato */
.nomine-badge::before, .crpz-badge-success::before, .crpz-badge-danger::before, .crpz-scad-pill::before{ content:"\25CF"; margin-right:6px; font-size:.8em; }
.nomine-badge-attiva, .crpz-badge-success{ box-shadow:0 0 12px -4px rgba(46,204,113,.7); }
.nomine-badge-scaduta, .nomine-badge-revocata, .crpz-badge-danger, .crpz-scad-pill-scaduto{ box-shadow:0 0 12px -4px rgba(229,73,62,.7); }

/* ===== Elenco corsi pubblico: tema scuro anche senza login, nessuna icona ===== */
body.gawp-elenco-corsi .entry-content img, body.gawp-elenco-corsi .entry-content svg, body.gawp-elenco-corsi .entry-content i,
body.gawp-elenco-corsi .entry-content .elementor-icon, body.gawp-elenco-corsi .entry-content .elementor-icon-box-icon,
body.gawp-elenco-corsi .entry-content .elementor-widget-icon, body.gawp-elenco-corsi .entry-content .elementor-widget-image,
body.gawp-elenco-corsi .entry-content [class*="icon"], body.gawp-elenco-corsi .entry-content .dashicons{display:none !important}
body.gawp-elenco-corsi .entry-content, body.gawp-elenco-corsi .entry-content *{color:#FFFFFF}
body.gawp-elenco-corsi .entry-content a{color:#FFB347}
body.gawp-elenco-corsi .entry-content h1, body.gawp-elenco-corsi .entry-content h2, body.gawp-elenco-corsi .entry-content h3{color:#FF8C00 !important}
body.gawp-elenco-corsi .entry-content [class*="card"], body.gawp-elenco-corsi .entry-content .elementor-widget-container, body.gawp-elenco-corsi .entry-content table, body.gawp-elenco-corsi .entry-content td, body.gawp-elenco-corsi .entry-content th{background-color:#141414 !important;border-color:#333}

/* Pagine con tabelle anagrafiche: contenitore a tutta larghezza (come anagrafica aziende) */
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) .ast-container,
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) .site-content .ast-container,
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) .elementor-section.elementor-section-boxed>.elementor-container,
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) .e-con{max-width:100% !important}
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) #primary{width:100% !important;max-width:100% !important;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) #secondary{display:none}
/* Elenco corsi: etichette/codici (es. MB) scure con testo arancione */
body.gawp-elenco-corsi [class*="badge"], body.gawp-elenco-corsi [class*="tag"], body.gawp-elenco-corsi [class*="code"], body.gawp-elenco-corsi [class*="chip"], body.gawp-elenco-corsi [class*="pill"], body.gawp-elenco-corsi [class*="sigla"], body.gawp-elenco-corsi [class*="label"]{background:#0A0A0A !important;color:#FF8C00 !important;border:1px solid #FF8C00 !important;box-shadow:none !important;background-image:none !important}

/* tabelle anagrafiche: il contenitore interno non deve restare a larghezza fissa/centrata */
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) .entry-content > *,
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) .entry-content .elementor-widget-container,
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) .gawp-anagrafica-wrapper,
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) .gawp-toolbar,
body:has(#anagrafica-table, .tabella-corsi, .cps-table, .nomine-table, .panix-doc-table) #gawp-table-container{max-width:none !important;width:100% !important;margin-left:0 !important;margin-right:0 !important;box-sizing:border-box}