/* FILE: assets/css/admin-style.css
   Tema admin scuro + stile uniforme Impostazioni + FIX colonne lista Speaker
   + Integrazioni "Uniformità Stile Filtri e UI Regia"
   Versione: 22.8.22 (Merged: 22.8.10 + 22.8.22)
*/

/* ==========================================================================
   1. VARIABILI E STILI GLOBALI
   ========================================================================== */
/* Nascondi Permalink pagina speaker*/
#edit-slug-box{
  display: none !important;
}
/* PERSONALIZZAZIONE FOOTER WP*/

:root {
  --rtm-bg-dark: #1e1e2f;
  --rtm-bg-card: #2c2c4a;
  --rtm-bg-card-alt: #353555;
  --rtm-accent-purple: #8a4fff;
  --rtm-accent-blue: #4a7dff;
  --rtm-text-light: #f0f0f1;
  --rtm-text-muted: #a0a0b8;
  --rtm-border-color: #4d4d6e;
  --rtm-success-color: #4caf51;
  --rtm-danger-color: #f44336;
  --rtm-danger-hover-color: #e53935;
  --rtm-warning-color: #ff9800;
  --rtm-warning-hover-color: #ffa726;
  --rtm-active-filter-color: #feae18;
  /* Integrazione Nuovi Colori Neon */
  --rtm-neon-green: #39FF14;
}

/* Filtra per giorno (INTEGRATO: wrapper più "UI", senza cambiare font/padding) */
.rtm-day-filter-wrapper{
  font-size: 20px;
  padding: 5px;

  /* integrazione 22.8.22 */
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  padding: 5px 12px;
  border-radius: 4px;
}

/* Sfondo generale */
html, body, #wpwrap, #wpcontent, #wpbody, #wpbody-content {
  background-color: var(--rtm-bg-dark) !important;
}

.wrap h1, .wrap h2, .wrap h3 {
  margin: 1em 10px !important;
  color: var(--rtm-text-light) !important;
}

.wrap h1 {
  font-size: 28px;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-title-action {
  background-color: var(--rtm-accent-purple) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 4px 12px !important;
  transition: background 0.3s;
  display: inline-block !important;
}
.page-title-action:hover {
  background-color: var(--rtm-accent-blue) !important;
  color: #fff !important;
}

hr {
  border-color: var(--rtm-border-color);
  margin: 10px 0;
  border-style: solid;
  border-width: 1px 0 0 0;
}

/* FIX REQUESTED: Nascondi Permalink nella pagina Evento */
.post-type-rtm_event #edit-slug-box {
    display: none !important;
}

/* FIX REQUESTED: Layout 2 Colonne per Dettagli Evento */
.rtm-event-meta-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.rtm-event-col {
    flex: 1;
    min-width: 250px;
    background-color: #373753;
    padding: 10px;
}

/* ==========================================================================
   2. ZEBRATURA E TABELLE (SETTINGS & GENERAL)
   ========================================================================== */
.rtm-alt-rows .form-table {
    border-collapse: separate;
    border-spacing: 0 4px;
}
.rtm-alt-rows .form-table th,
.rtm-alt-rows .form-table td {
    transition: background .15s ease;
    vertical-align: middle;
    padding: 10px;
}
.rtm-alt-rows .form-table tr:nth-child(odd) th,
.rtm-alt-rows .form-table tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.04);
}
.rtm-alt-rows .form-table tr:nth-child(even) th,
.rtm-alt-rows .form-table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.08);
}
.rtm-alt-rows .form-table tr:hover th,
.rtm-alt-rows .form-table tr:hover td {
    background: rgba(255, 255, 255, 0.12);
}

.rtm-main-card {
    background-color: var(--rtm-bg-card);
    color: var(--rtm-text-light);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid var(--rtm-border-color);
}

/* ==========================================================================
   3. FORM (inputs, range, colorpicker)
   ========================================================================== */
.form-table th { font-weight: 500; color: var(--rtm-text-muted); text-align: left; padding-right: 20px; font-size: 20px; padding-top: 20px; vertical-align: top; }
.form-table td { padding: 15px 0; vertical-align: top; color: var(--rtm-text-muted); }

.form-table input[type=text], .form-table input[type=time], .form-table input[type=number],
.form-table select, .form-table textarea, .form-table input[type=date]{
  width:100%; background-color:#ffffff; color:#000000;
  border:1px solid var(--rtm-border-color); border-radius:6px; padding:12px 15px; font-size:16px; transition:border-color .2s;
}
.form-table input:focus, .form-table select:focus, .form-table textarea:focus{
  border-color:var(--rtm-accent-purple); box-shadow:none; outline:none;
}
.nav-tab-wrapper { border-bottom-color: var(--rtm-border-color); margin-bottom: 20px; }
.nav-tab { font-size: 20px; padding: 10px 20px; color: var(--rtm-text-muted); border: none; border-bottom: 2px solid transparent; background: transparent; }
.nav-tab:hover { color: var(--rtm-text-light); background-color: #8b4fff; }
.nav-tab-active, .nav-tab-active:hover { background: transparent; border-bottom-color: var(--rtm-accent-purple); color: var(--rtm-text-light); }
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;max-width:300px;height:8px;background:var(--rtm-bg-dark);border-radius:5px;outline:none;border:1px solid var(--rtm-border-color);}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:var(--rtm-accent-purple);cursor:pointer;border-radius:50%;}
.wp-picker-container .wp-color-result.button{border:1px solid var(--rtm-border-color);height:36px;border-radius:6px;width:93%;height:100px;}
.wp-picker-container{width: 100% !important;}
/* Seleziona un colore */
.wp-color-result-text{width:230px !important;}
.rtm-row{display:flex;align-items:center;flex-wrap:wrap;gap:20px;}
.rtm-row .mini{width:70px}
.rtm-chip-box{max-height:220px;overflow:auto;border-radius:6px;padding:10px;background:rgba(0,0,0,0.35);border:1px solid rgba(255,255,255,0.08);}
h2{font-size: 20px !important;}

/* ==========================================================================
   4. LISTE POST — FIX SOLO PER SPEAKER
   ========================================================================== */
.edit-php.post-type-rtm_speaker .wp-list-table{
  table-layout: auto;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
.edit-php.post-type-rtm_speaker .wp-list-table thead th,
.edit-php.post-type-rtm_speaker .wp-list-table tfoot th,
.edit-php.post-type-rtm_speaker .wp-list-table tbody td{
  color:var(--rtm-text-light) !important;
  border-bottom:1px solid var(--rtm-border-color) !important;
  vertical-align:middle;
  background:transparent;
  box-sizing: border-box;
  padding: 12px 10px;
}

/* Stili Righe Alternati */
.edit-php.post-type-rtm_speaker .wp-list-table tbody tr:nth-child(odd){background-color:var(--rtm-bg-card) !important;}
.edit-php.post-type-rtm_speaker .wp-list-table tbody tr:nth-child(even){background-color:var(--rtm-bg-card-alt) !important;}
.edit-php.post-type-rtm_speaker .wp-list-table tbody tr:hover{background-color:#40405f !important;}

/* Intestazioni Tabella */
.edit-php.post-type-rtm_speaker .wp-list-table thead th,
.edit-php.post-type-rtm_speaker .wp-list-table tfoot th{
  background-color:var(--rtm-bg-dark) !important;
  border-bottom:2px solid var(--rtm-border-color) !important;
  font-weight:600;
  text-align: left;
}
.edit-php.post-type-rtm_speaker .wp-list-table thead th a {
    color: var(--rtm-text-light);
}

.edit-php.post-type-rtm_speaker .row-title{color:var(--rtm-text-light) !important;font-weight:600;font-size:15px;}
.edit-php.post-type-rtm_speaker .row-title:hover{color:var(--rtm-accent-blue) !important;}

/* --- Larghezze Colonne Ottimizzate --- */
.edit-php.post-type-rtm_speaker .wp-list-table th.column-cb,
.edit-php.post-type-rtm_speaker .wp-list-table td.column-cb{ width: 36px; padding: 0 5px; }

.edit-php.post-type-rtm_speaker .wp-list-table th.column-title,
.edit-php.post-type-rtm_speaker .wp-list-table td.column-title{ width: auto; min-width: 200px; }

.edit-php.post-type-rtm_speaker .wp-list-table th.column-relazione_title,
.edit-php.post-type-rtm_speaker .wp-list-table td.column-relazione_title{width:20%;}

.edit-php.post-type-rtm_speaker .wp-list-table th.column-sala,
.edit-php.post-type-rtm_speaker .wp-list-table td.column-sala{width:8%; text-align:left;}

.edit-php.post-type-rtm_speaker .wp-list-table th.column-orario,
.edit-php.post-type-rtm_speaker .wp-list-table td.column-orario{width:6%; text-align:left;}

.edit-php.post-type-rtm_speaker .wp-list-table th.column-durata,
.edit-php.post-type-rtm_speaker .wp-list-table td.column-durata{width:6%; text-align:left;}

.edit-php.post-type-rtm_speaker .wp-list-table th.column-indicators,
.edit-php.post-type-rtm_speaker .wp-list-table td.column-indicators{width:9%;}

.edit-php.post-type-rtm_speaker .wp-list-table th.column-notes,
.edit-php.post-type-rtm_speaker .wp-list-table td.column-notes{ width: 20%; min-width: 150px; }

.edit-php.post-type-rtm_speaker .wp-list-table th.column-date,
.edit-php.post-type-rtm_speaker .wp-list-table td.column-date{ width: 10%; white-space: nowrap; }

.edit-php.post-type-rtm_speaker .wp-list-table td:not(.column-notes){ white-space:nowrap;overflow:hidden;text-overflow:ellipsis; max-width: 600px; padding-right: 15px }
.edit-php.post-type-rtm_speaker .wp-list-table td.column-title { max-width: none; }
.edit-php.post-type-rtm_speaker .wp-list-table td.column-notes{ white-space:normal;word-wrap:break-word;line-height:1.3;font-size:.9em; }

/* Checkbox */
.edit-php.post-type-rtm_speaker .check-column{background:transparent !important; padding: 10px 0 !important;}
.edit-php.post-type-rtm_speaker .check-column input[type="checkbox"]{ background-color:var(--rtm-bg-dark);border-color:var(--rtm-border-color); }

/* Row actions */
.edit-php.post-type-rtm_speaker .row-actions{ visibility:hidden;opacity:0;transition:opacity .2s ease-in-out; display:flex;flex-wrap:nowrap;gap:4px;position:static; margin-top: 5px; }
.edit-php.post-type-rtm_speaker .wp-list-table tr:hover .row-actions{visibility:visible;opacity:1;}
.edit-php.post-type-rtm_speaker .row-actions span{float:none;display:inline;font-size:0;}
.edit-php.post-type-rtm_speaker .row-actions span a{ font-size:10px;padding:4px 8px;border-radius:3px;text-decoration:none;color:#fff;font-weight:800;line-height:1; }
.edit-php.post-type-rtm_speaker .row-actions .edit a{background-color:#337836;}
.edit-php.post-type-rtm_speaker .row-actions .trash a{background-color:#b32d2e;}
.edit-php.post-type-rtm_speaker .row-actions .view a{background-color:var(--rtm-accent-blue);}
.edit-php.post-type-rtm_speaker .row-actions .duplicate a{background-color:var(--rtm-active-filter-color);color:#000;}

/* Filtri - GENERALE */
.edit-php.post-type-rtm_speaker .tablenav .actions select{ background-color:var(--rtm-bg-dark);color:var(--rtm-text-light); border:1px solid var(--rtm-border-color);border-radius:6px;height:36px; }
.edit-php.post-type-rtm_speaker .tablenav .actions select.rtm-active-filter{ background-color:var(--rtm-active-filter-color);color:var(--rtm-bg-dark); font-weight:bold;border-color:var(--rtm-active-filter-color); }
.edit-php.post-type-rtm_speaker .tablenav .actions input[type=submit]{ background-color:var(--rtm-accent-purple);border-color:var(--rtm-accent-purple);color:#fff;border-radius:6px;height:36px; transition: background .3s; }
.edit-php.post-type-rtm_speaker .tablenav .actions input[type=submit]:hover { background-color: var(--rtm-accent-blue); border-color: var(--rtm-accent-blue); }

/* --- FIX REQUESTED: STILE UNIFORME RICERCA --- */
.post-type-rtm_speaker .search-box input[type="search"] {
    background-color: var(--rtm-bg-dark) !important;
    color: var(--rtm-text-light) !important;
    border: 1px solid var(--rtm-border-color) !important;
    border-radius: 4px !important;
    padding: 0 10px !important;
    height: 30px !important;
    line-height: 28px !important;
}

.post-type-rtm_speaker .search-box .search-submit {
    background-color: var(--rtm-accent-purple) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    transition: background 0.3s !important;
    height: 30px !important;
    line-height: 28px !important;
    padding: 0 12px !important;
}

.post-type-rtm_speaker .search-box .search-submit:hover {
    background-color: var(--rtm-accent-blue) !important;
    color: #fff !important;
}

/* ==========================================================================
   5. EDIT SCREEN E REGIA
   ========================================================================== */
#titlewrap #title{
  background-color:var(--rtm-bg-card) !important;color:var(--rtm-text-light) !important;
  border:1px solid var(--rtm-border-color) !important;border-radius:6px !important;
  padding:15px !important;font-size:20px !important;height:auto !important;box-shadow:none !important;
}
#titlewrap #title:focus{border-color:var(--rtm-accent-purple) !important;}
.postbox{background-color:var(--rtm-bg-card) !important;color:var(--rtm-text-light) !important;border:1px solid var(--rtm-border-color) !important;box-shadow:none !important;border-radius:8px;}
.postbox .hndle{color:var(--rtm-text-light) !important;border-bottom:1px solid var(--rtm-border-color) !important;}
.postbox .inside{padding:20px !important;margin:0;}

.rtm-flex-row{display:flex;gap:20px;align-items:center;}
.rtm-flex-row>div{flex:1;}
.rtm-flex-row label{display:block;margin-bottom:5px;font-weight:bold;color:var(--rtm-text-light);font-size:14px;}

.rtm-columns-container{display:flex;gap:40px;flex-wrap:wrap;}
.rtm-column-photo{flex:0 0 340px;}
.rtm-column-notes{font-size: 20px; text-align: center; flex:1;padding-top:15px; min-width:250px;}
/* Dimensione textarea note */
.rtm-column-notes textarea {
    width: 100%;
    min-height: 200px;
    font-size: 20px !important;
    line-height: 1.4;
    padding: 10px;
}
/* Posizione testo NOTE */
.rtm-column-notes strong {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: -20px;
    font-size: 20px;
}
/* Stile foto 1 e 2 */
.rtm-image-uploader{
  font-size: 20px;
  margin-bottom: 10px;
}
/* Tasti "carica" */
.wp-core-ui .button{
  font-size: 20px !important;
  min-height: 40px !important;
}
.button{
  /*background-color: transparent !important;*/
  border: none !important;
}
/* Nome file caricato */
.rtm-file-preview{
  font-size: 20px;
  margin-bottom: 10px;
}

/* --- FIX REQUESTED: Colonna Centrale Speaker (Split Layout) --- */
.rtm-column-toggles {
    flex: 1;
    min-width: 320px;
    margin-right: 70px;
    margin-left: -50px;
}

/* Wrapper interno per dividere i toggle in due gruppi */
.rtm-toggles-wrapper {
    display: flex;
    gap: 40px;
}

.rtm-toggles-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Stile per le etichette dei toggle per allinearle con lo switch */
.rtm-toggles-group p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-size: 16px;
    color: var(--rtm-text-light);
    white-space: nowrap;
}

/* Stile specifico per i nuovi toggle (Timer/Fullscreen) per dare risalto */
.rtm-toggle-special {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--rtm-border-color);
}

.rtm-toggle-switch{position:relative;display:inline-block;width:50px;height:28px; flex-shrink: 0; margin-left: 15px;}
.rtm-toggle-switch input{opacity:0;width:0;height:0;}
.rtm-toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--rtm-border-color);transition:.4s;border-radius:28px;}
.rtm-toggle-slider:before{position:absolute;content:'';height:20px;width:20px;left:4px;bottom:4px;background-color:white;transition:.4s;border-radius:50%;}
input:checked+.rtm-toggle-slider{background-color:var(--rtm-success-color);}
input:checked+.rtm-toggle-slider:before{transform:translateX(22px);}

#publishing-action .button-primary{
  width:100%;background:var(--rtm-accent-purple) !important;color:#fff;border:none;border-radius:8px;font-size:16px;padding:12px 30px;height:auto;text-transform:uppercase;font-weight:bold;box-shadow:none !important;text-shadow:none !important;
}
#publishing-action .button-primary:hover{background:var(--rtm-accent-blue) !important;}

/* LAYOUT REGIA */
.speaker-row{display:grid;grid-template-columns:28px 120px auto 1fr 120px auto;gap:20px;align-items:center;padding:15px 10px;border-bottom:1px solid var(--rtm-border-color);transition:background .3s;}

/* 🔥 INTEGRAZIONE NUOVO STILE LIVE (NEON GREEN) 🔥 */
.speaker-row.rtm-row-live {
    background-color: #2c2c3d !important;
    border: 5px solid var(--rtm-neon-green) !important;
    border-radius: 20px !important;
    margin: 15px 0 !important;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.speaker-row.rtm-highlight-update{animation:rtm-flash 1.5s ease-out;}
@keyframes rtm-flash{0%{background-color:rgba(0,100,0,.9);}100%{background-color:transparent;}}
.rtm-regia-filters{display:flex;align-items:center;gap:20px;margin-bottom:20px;flex-wrap:wrap;}
.rtm-regia-filters select{min-width:250px;background-color:var(--rtm-bg-dark);color:var(--rtm-text-light);border:1px solid var(--rtm-border-color);padding:10px;border-radius:6px;}
/* Stato focus: evita il testo "selezionato" illeggibile dopo la scelta */
.rtm-regia-filters select:focus{background-color:var(--rtm-bg-dark);color:var(--rtm-text-light);outline:none;}
/* Hover: evidenziazione oro */
.rtm-regia-filters select:hover{background-color:var(--rtm-active-filter-color);color:var(--rtm-bg-dark);border-color:var(--rtm-active-filter-color);cursor:pointer;}
.rtm-regia-filters select::selection{background:transparent;color:inherit;}
.rtm-regia-filters select option{background-color:var(--rtm-bg-dark);color:var(--rtm-text-light);}
/* Filtro attivo: evidenziazione oro con testo scuro (anche in focus) */
.rtm-regia-filters select.rtm-active-filter,
.rtm-regia-filters select.rtm-active-filter:focus{background-color:var(--rtm-active-filter-color);color:var(--rtm-bg-dark);font-weight:bold;border-color:var(--rtm-active-filter-color);}
.rtm-regia-filters select.rtm-active-filter option{background-color:var(--rtm-bg-dark);color:var(--rtm-text-light);font-weight:normal;}
/* Select pagina Impostazioni (Font, ecc.) - uniformati alla Regia */
.rtm-settings-select{background-color:var(--rtm-bg-dark);color:var(--rtm-text-light);border:1px solid var(--rtm-border-color);padding:8px 10px;border-radius:6px;min-width:180px;}
.rtm-settings-select:focus{background-color:var(--rtm-bg-dark);color:var(--rtm-text-light);outline:none;}
.rtm-settings-select:hover{background-color:var(--rtm-active-filter-color);color:var(--rtm-bg-dark);border-color:var(--rtm-active-filter-color);cursor:pointer;}
.rtm-settings-select::selection{background:transparent;color:inherit;}
.rtm-settings-select option{background-color:var(--rtm-bg-dark);color:var(--rtm-text-light);}
/* Etichette pagina Impostazioni a 20px */
.rtm-settings-page .form-table th,
.rtm-settings-page .form-table td label,
.rtm-settings-page .form-table td > div > label{font-size:20px;}
.room-group{background:var(--rtm-bg-dark);border:1px solid var(--rtm-border-color);border-radius:8px;padding:20px;margin-bottom:25px;}
.room-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid var(--rtm-border-color);flex-wrap:wrap;gap:15px;}
.room-title{font-size:2.2em;color:var(--rtm-accent-purple);margin:0;margin-right:15px;}
.rtm-header-btn{text-decoration:none !important;text-align:center;flex-shrink:0;display:inline-block;}
.rtm-realtime-link{background:var(--rtm-accent-purple) !important;border-color:var(--rtm-accent-purple) !important;color:#fff !important;font-weight:bold;font-size:14px !important;padding:8px 12px !important;text-transform:uppercase;}
.rtm-header-action-btn{background:var(--rtm-bg-dark) !important;color:var(--rtm-text-light) !important;border:1px solid var(--rtm-border-color) !important;border-radius:6px !important;font-size:13px !important;padding:6px 12px !important;height:auto !important;text-transform:uppercase;font-weight:bold;}
.rtm-header-action-btn:hover{background-color:var(--rtm-border-color) !important;border-color:var(--rtm-accent-purple) !important;color:#fff !important;}
.speaker-time{font-size:2em;color:var(--rtm-text-muted);font-weight:bold;text-align:center;line-height:1.1;}
.speaker-duration{display:block;font-size:.6em;font-weight:normal;margin-top:4px;}
/* Numero durata editabile inline (stesso feedback visivo del nome speaker) */
.speaker-duration-text{cursor:pointer;border-bottom:1px dashed transparent;}
.speaker-duration-text:hover{border-bottom-color:var(--rtm-accent-purple);}
.rtm-inline-edit-duration{width:70px !important;text-align:center;}
.speaker-details strong{font-size:1.9em;color:var(--rtm-text-light);margin-bottom:5px;display:block;}
.speaker-details small{font-size:1.5em;color:var(--rtm-text-muted);line-height:normal;}
/* Contenitore titolo relazione: usa div invece di small per supportare figli display:block */
.rtm-speaker-title-small{font-size:1.5em;color:var(--rtm-text-muted);line-height:1.4;}
.rtm-speaker-title-small .rtm-dual-title-wrapper{display:block;}
.rtm-speaker-title-small .rtm-title-it{display:block;}
.rtm-speaker-title-small .rtm-title-divider{display:block;height:1px;background:rgba(255,255,255,0.15);margin:4px 0;border:none;}
.rtm-speaker-title-small .rtm-title-en-wrapper{display:flex;align-items:flex-start;gap:6px;}
.rtm-speaker-title-small .rtm-title-en{display:block;}
.speaker-meta-info{display:flex;align-items:center;gap:15px;margin-top:10px;flex-wrap:wrap;}
.speaker-meta-info img.rtm-meta-icon{width:34px;height:34px;vertical-align:middle;}
.speaker-notes-regia{background-color:#9B5DE5;color:#ffffff;padding:8px 12px;border-radius:6px;font-size:1.7em;line-height: 1.1;font-style:italic;white-space:pre-wrap;}
.rtm-editable-note{cursor:pointer;display:inline-block;transition:opacity .15s;}
.rtm-editable-note:hover{opacity:.85;}
.rtm-editable-note.rtm-note-empty{background-color:transparent;color:var(--rtm-text-muted);border:1px dashed rgba(255,255,255,0.25);font-style:normal;font-size:1.1em;padding:4px 10px;opacity:.7;}
.rtm-editable-note.rtm-note-empty:hover{opacity:1;border-color:#9B5DE5;color:#9B5DE5;}
.rtm-inline-edit-note{width:100%;min-width:220px;background-color:var(--rtm-bg-dark);color:var(--rtm-text-light);border:1px solid #9B5DE5;border-radius:6px;padding:8px 12px;font-size:1.2em;line-height:1.2;resize:vertical;font-family:inherit;}

/* Drag&drop ordinamento speaker (solo ordine di vista) */
.rtm-drag-handle{display:flex;align-items:center;justify-content:center;cursor:grab;color:var(--rtm-text-muted);font-size:22px;line-height:1;user-select:none;opacity:.5;transition:opacity .15s,color .15s;}
.rtm-drag-handle:hover{opacity:1;color:#feae18;}
.rtm-drag-handle:active{cursor:grabbing;}
.rtm-sortable-placeholder{background:rgba(254,174,24,0.12);border:2px dashed #feae18;border-radius:8px;margin:4px 0;min-height:60px;}
.speaker-row.ui-sortable-helper{box-shadow:0 8px 24px rgba(0,0,0,0.5);opacity:.97;}
.rtm-session-reset-order{background:transparent;border:1px solid var(--rtm-border-color);color:var(--rtm-text-muted);border-radius:6px;padding:4px 10px;font-size:12px;cursor:pointer;margin-right:8px;white-space:nowrap;transition:all .15s;}
.rtm-session-reset-order:hover{border-color:#feae18;color:#feae18;}
/* Disabling temporaneo durante l'azione (NON cambia il colore strutturale del pulsante) */
.btn-live.rtm-temp-disabled, .btn-re-air.rtm-temp-disabled{pointer-events:none;}
.rtm-timer-controls{text-align:center;margin-top:8px;display:flex;justify-content:center;gap:10px;}

/* Allineamento wrapper countdown e box slide live - Aggiornato per impilamento verticale professionale */
.speaker-countdown-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
}

/* Stile Timer Gigante Live */
.rtm-row-live .speaker-countdown {
    font-size: 3em !important;
    font-weight: 800 !important;
    color: #fff !important;
    visibility: visible !important;
    margin: 10px 0;
}

.speaker-countdown{font-size:2em;font-weight:bold;color:var(--rtm-text-light);text-align:center;font-family:monospace;visibility:hidden;margin-bottom:0;display:block;}

/* INTEGRAZIONE 22.8.22: stato scaduto + blink (non sovrascrive tema, aggiunge solo classe) */
.speaker-countdown.expired {
    color: #ff0000 !important;
    animation: rtm-blink 1s infinite;
}
@keyframes rtm-blink {
    50% { opacity: 0.3; }
}

/* 🔥 FIX PULSANTI ICONE +/- (FORZATURA TOTALE & NO FLASH BIANCO) 🔥 */
.wp-core-ui .button.btn-add-time,
.wp-core-ui .button.btn-sub-time {
    display: inline-block !important;
    background-color: transparent !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    cursor: pointer !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    box-shadow: none !important;
    outline: none !important;
    color: transparent !important;
    text-shadow: none !important;
    line-height: 0 !important;
    padding: 0 !important;
    margin: 0 4px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: transform 0.2s !important;
}

/* Immagine specifica per + */
.wp-core-ui .button.btn-add-time,
.wp-core-ui .button.btn-add-time:hover,
.wp-core-ui .button.btn-add-time:focus,
.wp-core-ui .button.btn-add-time:active {
    background: url('https://data.webmeetec.it/wp-content/uploads/2025/12/ico-piu.png') center/contain no-repeat transparent !important;
}

/* Immagine specifica per - */
.wp-core-ui .button.btn-sub-time,
.wp-core-ui .button.btn-sub-time:hover,
.wp-core-ui .button.btn-sub-time:focus,
.wp-core-ui .button.btn-sub-time:active {
    background: url('https://data.webmeetec.it/wp-content/uploads/2025/12/ico-meno.png') center/contain no-repeat transparent !important;
}

/* Effetti di interazione (solo zoom) */
.wp-core-ui .button.btn-add-time:hover,
.wp-core-ui .button.btn-sub-time:hover {
    transform: scale(1.1) !important;
}

.wp-core-ui .button.btn-add-time:active,
.wp-core-ui .button.btn-sub-time:active {
    transform: scale(0.95) !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.btn-live{background-color:#337836 !important;border-color:#337836 !important;color:#fff !important;font-weight:bold;font-size:20px !important;height:auto !important;padding:10px 20px !important;}

/* STOP ROSSO LIVE */
.rtm-row-live .btn-live.is-live{
    background:#e74c3c !important;
    border-color:#e74c3c !important;
    font-size: 24px !important;
}

.btn-live.is-live{background:#F44336 !important;border-color:#F44336;width: 100%;}
.btn-live:hover:not(:disabled){background-color:#45a049 !important;}
.btn-live:disabled{background-color:#555 !important;border-color:#555 !important;color:#999 !important;cursor:not-allowed;opacity:.7;}
.btn-re-air{
    background-color:#5b1f76 !important;
    border-color:#5b1f76 !important;
    color:#fff !important;
    font-weight:800 !important;
    font-size:40px !important;
    height:auto !important;
    padding:22px 28px !important;
    line-height:1.1 !important;
}

/* Tasto Reset: icona prima del tasto rimanda, larga come i tasti principali */
.btn-reset-speaker{background:none !important;border:none !important;cursor:pointer;padding:0 !important;margin:0 10px 0 0 !important;vertical-align:middle !important;line-height: 0 !important;}
.btn-reset-speaker img{width:32px !important;height:32px !important;vertical-align:middle;}

/* INTEGRAZIONE 22.8.22: icone extra coerenti (non impatta layout se non presenti) */
.btn-re-air-icon img,
.btn-switch-monitor img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Layout "identico screenshot" per lo stato "Rimanda in onda" */
.rtm-action-block.rtm-reair-stack{
    width: 100% !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    align-items: center !important;
}

.rtm-reair-icon{
    padding: 0 !important;
    margin: 0 !important;
    width: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: transparent !important;
    border: none !important;
}

.rtm-reair-icon img{
    width: 46px !important;
    height: 46px !important;
}

/* Icona monitor SOLO informativa (non cliccabile) nello stato "Rimanda in onda" */
.rtm-monitor-icon-static{
    cursor: default !important;
    pointer-events: none;
}

.rtm-reair-content{
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 220px;
    align-items: stretch;
}

/* --- NUOVI STILI PER TOGGLE REGIA (FIX GRADINO: NO ANIMAZIONE ALL'AVVIO) --- */
.rtm-live-toggles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 170px;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease;
}

/* Quando la riga ha classe 'rtm-row-live', mostra subito il contenuto */
.speaker-row.rtm-row-live .rtm-live-toggles {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}

.rtm-control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #353555;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--rtm-border-color);
}

.rtm-control-label {
    font-weight: bold;
    font-size: 16px;
    color: var(--rtm-text-muted);
}

/* Toggle Switch CSS */
.rtm-ios-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    margin: 0;
}

.rtm-ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.rtm-ios-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #575778;
    transition: .4s;
    border-radius: 34px;
}

.rtm-ios-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* Stato Checked (Verde) */
input:checked + .rtm-ios-slider {
    background-color: #4caf50;
}

input:checked + .rtm-ios-slider:before {
    transform: translateX(20px);
}

/* 🔥 AGGIUNTO: EDITING NOME SPEAKER RAPIDO 🔥 */
.rtm-editable-name-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.rtm-editable-name-wrapper:after {
    content: "\f464";
    font-family: dashicons;
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--rtm-accent-purple);
    opacity: 0;
    transition: opacity 0.2s;
}
.rtm-editable-name-wrapper:hover:after {
    opacity: 1;
}
.rtm-inline-edit-input {
    background: var(--rtm-bg-dark) !important;
    color: #fff !important;
    border: 1px solid var(--rtm-accent-purple) !important;
    font-size: 1.2em !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    width: 100%;
}

/* INTEGRAZIONE 22.8.22: stile testo nome (se usato come span/div invece del wrapper sopra) */
.speaker-name-text {
    font-size: 1.1em;
    cursor: pointer;
    border-bottom: 1px dashed transparent;
}
.speaker-name-text:hover {
    border-bottom-color: var(--rtm-accent-purple);
}

/* INTEGRAZIONE 22.8.22: wrapper header sinistra + suffisso giorno (non altera il tema se assente) */
.room-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.rtm-room-day-suffix {
    font-weight: 400;
    font-size: 0.75em;
    color: var(--rtm-text-muted);
}

/* ==========================================================================
   6. CUSTOM FONT SIZES
   ========================================================================== */
.post-type-rtm_speaker .wp-list-table .column-rtm_speaker_name strong a.row-title {
    font-size: 26px !important;
    line-height: 1.2;
}

/* ==========================================================================
   7. STILI PER MATRICE EVENTI (ESTRAPOLATI DA PHP)
   ========================================================================== */
.fixed .column-rtm_event_title {
    width: 20%;
    vertical-align: top;
}
.rtm-matrix-cell {
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.rtm-matrix-date {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 4px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
}
.rtm-matrix-stats {
    font-size: 28px;
    color: #ccc;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.rtm-stat-ok {
    color: #46b450;
    font-weight: 500;
}
.rtm-stat-ko {
    color: #dc3232;
    font-weight: 500;
}
.rtm-stat-tot {
    color: #2271b1;
    font-weight: 500;
}
/* FIX: Rimuove linee blu (focus/box-shadow) dal titolo evento nella lista */
.post-type-rtm_event .row-title:focus,
.post-type-rtm_event .row-title:active {
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
}
/*Colore dopo click su titolo evento*/
.wp-person a:focus .gravatar, a:focus, a:focus .media-icon img, a:focus .plugin-icon {
    color: #aaaaaa !important;
}
/* ==========================================================================
   8. OVERRIDE STILI NATIVI WORDPRESS (TABELLE)
   ========================================================================== */

/* Forza lo stile delle intestazioni nelle tabelle Eventi e Speaker */
.post-type-rtm_event .widefat thead th,
.post-type-rtm_event .widefat tfoot th,
.post-type-rtm_speaker .widefat thead th,
.post-type-rtm_speaker .widefat tfoot th {
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: left !important;
    padding: 15px 10px !important;
    color: var(--rtm-text-light) !important;
    background-color: var(--rtm-bg-dark) !important;
    border-bottom: 2px solid var(--rtm-border-color) !important;
}

/* Forza lo stile delle celle del corpo tabella */
.post-type-rtm_event .widefat tbody td,
.post-type-rtm_speaker .widefat tbody td {
    font-size: 20px !important;
    vertical-align: middle !important;
}
/* Forza lo stile del titolo dell'evento nella tabella */
.row-title {
    font-size: 28px !important;
    font-weight: 600;
}
/* Forza lo stile dello sfondo dell'evento nella tabella */
.alternate, .striped>tbody>:nth-child(odd), ul.striped>:nth-child(odd) {
    background-color: #2c2c4a !important;
}
/*Segni di spunta tabella evento*/
.widefat tfoot td.check-column, .widefat thead td.check-column {
    padding-top: 4px;
    vertical-align: middle;
    background-color: #1e1e2f !important;
}
/*Colore "tutti", "pubblicato", "cestinato"*/
.ac_match, .subsubsub a.current {
    color: #fff !important;
}
.subsubsub {
  font-size: 21px !important;
}
.subsubsub a .count, .subsubsub a.current .count {
    color: #fff !important;
}
/*Dimensione testi modifica eventi*/
#poststuff .stuffbox>h3, #poststuff h2, #poststuff h3.hndle {
    font-size: 20px !important;
}
/*Dimensione Excel: Speaker, Titolo, Sala, Giorno, Ora, Durata, Note.*/
.wp-die-message, p {
    font-size: 20px !important;
}
/*Dimensione Sale e Giorni*/
.update-messages h2, .update-php h2, h4 {
    font-size: 20px !important;
}

/* ==========================================================================
   9. CUSTOMIZZAZIONE RICERCA E FILTRI SPEAKER (NUOVO)
   ========================================================================== */

/* FIX IMPORTANTE: ASSICURIAMO CHE LA BARRA FILTRI SIA VISIBILE MA STILIZZATA */
.post-type-rtm_speaker .tablenav.top {
    display: block !important;
    background-color: var(--rtm-bg-dark);
    border: none;
    padding-top: 10px;
    margin-bottom: 10px;
    height: auto;
    min-height: 40px;
}

/* RENDIAMO IL CONTENITORE FLESSIBILE PER ALLINEARE I FILTRI */
.post-type-rtm_speaker .tablenav.top .actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    overflow: visible !important;
}

/* Nascondi il box di ricerca STANDARD (in alto a destra) SOLO per gli speaker */
.post-type-rtm_speaker .search-box {
    display: none !important;
}

/* Stile per i filtri custom (Select e Input Ricerca) nella barra azioni */
.edit-php.post-type-rtm_speaker .tablenav .actions .rtm-admin-filter,
.edit-php.post-type-rtm_speaker .tablenav .actions .rtm-admin-search {
    background-color: var(--rtm-bg-dark) !important;
    color: var(--rtm-text-light) !important;
    border: 1px solid var(--rtm-border-color) !important;
    border-radius: 6px !important;
    height: 36px !important;
    vertical-align: middle;
    box-shadow: none !important;
    font-size: 14px;
    margin-right: 0 !important;
    width: auto;
}

/* Input ricerca custom specifico */
.edit-php.post-type-rtm_speaker .tablenav .actions .rtm-admin-search {
    width: 250px;
    padding: 0 10px;
}

/* Effetti Focus per filtri e ricerca */
.edit-php.post-type-rtm_speaker .tablenav .actions .rtm-admin-filter:focus,
.edit-php.post-type-rtm_speaker .tablenav .actions .rtm-admin-search:focus {
    border-color: var(--rtm-accent-purple) !important;
    outline: none !important;
    box-shadow: 0 0 0 1px var(--rtm-accent-purple) !important;
}

/* Placeholder più chiaro per input ricerca */
.edit-php.post-type-rtm_speaker .tablenav .actions .rtm-admin-search::placeholder {
    color: var(--rtm-text-muted);
    opacity: 0.7;
}

/* ==========================================================================
   10. PULIZIA FILTRI DUPLICATI (FIX DEFINITIVO)
   ========================================================================== */

/* Nasconde il filtro data (mese) nativo di WordPress, poiché usiamo il filtro Giorno */
.post-type-rtm_speaker .tablenav.top .actions select[name="m"] {
    display: none !important;
}

/* Stile per il bottone Filtra standard per integrarlo nel design */
.post-type-rtm_speaker .tablenav.top .actions input[type="submit"]#post-query-submit {
    display: inline-block !important;
    vertical-align: middle;
    margin-left: 0 !important;
    height: 36px !important;
}

/* ==========================================================================
   11. FIX NASCONDI RESET QUANDO LIVE
   ========================================================================== */
.speaker-row.rtm-row-live .btn-reset-speaker {
    display: none !important;
}

/* ==========================================================================
   12. GRID GALLERY SETTINGS - ROOMS TOGGLES
   ========================================================================== */
/* Contenitore a larghezza ridotta (simil card) */
.rtm-grid-rooms-wrapper {
    max-height: 400px;
    overflow-y: auto;
    padding: 5px;
    max-width: 290px;
}

/* Stile singola riga sala */
.rtm-grid-room-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Effetto Hover sulla riga */
.rtm-grid-room-row:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Nome della sala */
.rtm-grid-room-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--rtm-text-light);
}

/* ==========================================================================
   13. RTM SPINNER & LAYOUT AZIONI (PRO)
   ========================================================================== */

/* LAYOUT CELLA AZIONI: Flexbox per allineare Reset e Action */
.rtm-actions-cell {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 10px !important;
    min-width: 200px;
}

/* Riga orizzontale per i pulsanti (Reset + Azione Principale) */
.rtm-action-block {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    justify-content: flex-end !important;
}

/* WRAPPER DEL TASTO PRINCIPALE */
.rtm-main-action-wrapper {
    position: relative;
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BOTTONE PRINCIPALE: Transizione morbida */
.rtm-main-action-wrapper .btn-live,
.rtm-main-action-wrapper .btn-re-air {
    display: block !important;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

/* SPINNER OVERLAY */
.rtm-spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* STATO LOADING */
.rtm-main-action-wrapper.is-loading .btn-live,
.rtm-main-action-wrapper.is-loading .btn-re-air {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.rtm-main-action-wrapper.is-loading .rtm-spinner-overlay {
    opacity: 1;
    transform: scale(1);
}

/* LO SPINNER VERO E PROPRIO (Dual Ring) */
.rtm-spinner-loader {
    display: inline-block;
    width: 32px;
    height: 32px;
}
.rtm-spinner-loader:after {
    content: " ";
    display: block;
    width: 24px;
    height: 24px;
    margin: 4px;
    border-radius: 50%;
    border: 3px solid var(--rtm-text-light);
    border-color: var(--rtm-text-light) transparent var(--rtm-accent-purple) transparent;
    animation: rtm-dual-ring 1.2s linear infinite;
}

@keyframes rtm-dual-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* STILI PER COMPONENTI AGGIUNTIVI */
.rtm-liberatoria-container { max-width: 800px; margin: 40px auto; padding: 20px; background: #fff; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); color: #333; }
.rtm-liberatoria-header { text-align: center; margin-bottom: 30px; }
.rtm-liberatoria-header h1 { color: #1a1a1a; margin-bottom: 10px; }
.rtm-liberatoria-section { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.rtm-liberatoria-section h2 { font-size: 1.2em; color: #2c3e50; margin-bottom: 15px; }
.rtm-liberatoria-row { display: flex; gap: 20px; margin-bottom: 15px; }
.rtm-liberatoria-field { flex: 1; }
.rtm-liberatoria-field label { display: block; font-weight: bold; margin-bottom: 5px; font-size: 0.9em; }
.rtm-liberatoria-field input[type="text"], .rtm-liberatoria-field input[type="email"], .rtm-liberatoria-field select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; }
.rtm-signature-pad { border: 2px dashed #ccc; border-radius: 4px; background: #fafafa; margin-bottom: 10px; cursor: crosshair; }
.rtm-liberatoria-footer { text-align: center; margin-top: 40px; }
.rtm-btn-submit { background: #27ae60; color: #fff; border: none; padding: 15px 40px; border-radius: 4px; font-size: 1.1em; cursor: pointer; transition: background 0.3s; }
.rtm-btn-submit:hover { background: #219150; }
.rtm-btn-clear { background: #95a5a6; color: #fff; border: none; padding: 8px 15px; border-radius: 4px; font-size: 0.8em; cursor: pointer; margin-top: 5px; }
.rtm-liberatoria-status { margin-top: 20px; padding: 15px; border-radius: 4px; display: none; }
.rtm-liberatoria-status.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.rtm-liberatoria-status.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* FIX FINALI E MARGINI */
#wpfooter { color: #888 !important; }
.update-nag, .notice, .is-dismissible { border-radius: 4px !important; border: 1px solid rgba(255,255,255,0.1) !important; background-color: var(--rtm-bg-card) !important; color: #fff !important; }

/* ==========================================================================
   14. 🔥 INTEGRAZIONI SLIDE COUNTERS 🔥
   ========================================================================== */

/* Stato: non in onda (Pulsante Slide) new */
.slide-total-display {
    background: #7d5cff;
    color: #fff;
    padding: 20px;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    vertical-align: middle;
    border: none;
    box-shadow: none;

    width: auto !important;
    min-width: 150px;

    box-sizing: border-box;
    border-radius: 3px;
    margin-right: 8px;
}
/* Stile contatore LIVE (Pillola Viola/Azzurra) */
.slide-live-counter {
    background: #7d5cff;
    color: #fff;
    padding: 20px;
    font-weight: 800;
    font-size: 1.2em;
    border: none;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    margin-top:-45px;
    text-transform: uppercase;
}

/* Animazione per l'aggiornamento del numero slide */
.rtm-highlight-update {
    background-color: rgba(254, 174, 24, 0.15) !important;
    transition: background-color 0.5s ease;
}

@keyframes rtmFadeIn {
    from { opacity: 0; transform: translateX(-5px); }
    to { opacity: 1; transform: translateX(0); }
}
/* ==========================================================================
   15. 🎨 CUSTOM SAVE NOTICE STYLES (NEW) 🎨
   ========================================================================== */

/* Selettore specifico per le notifiche di successo dopo il salvataggio */
#message.updated,
.notice-success.updated {
    background-color: #233e30 !important;
    border-left: 4px solid #39FF14 !important; /* Richiamo al neon green */
    color: #f0f0f1 !important;
    padding: 15px 20px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    margin: 20px 0 !important;

    /* Animazione di apparizione fluida con "pulse" di luminosità */
    animation: success-pulse 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Nasconde il link "Visualizza articolo" */
#message.updated a,
.notice-success.updated a {
    display: none !important;
}

/* Garantisce che il testo all'interno sia centrato e leggibile */
#message.updated p,
.notice-success.updated p {
    font-size: 22px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Icona opzionale prima del testo "Salvato" */
#message.updated p::before,
.notice-success.updated p::before {
    content: "\f147"; /* Dashicon check */
    font-family: dashicons;
    margin-right: 12px;
    color: #39FF14;
    font-size: 28px;
}

@keyframes success-pulse {
    0% {
        opacity: 0;
        transform: translateY(-10px);
        background-color: #335d47; /* Leggermente più chiaro all'inizio */
    }
    30% {
        transform: translateY(0);
        background-color: #335d47;
    }
    100% {
        opacity: 1;
        background-color: #233e30;
    }
}
/* --- SEGRETERIA STYLES --- */
.rtm-segreteria-page h1 { font-size: 32px !important; margin-bottom: 30px !important; }

.rtm-segreteria-filters {
    display: flex; gap: 15px; margin-bottom: 25px; align-items: center; flex-wrap: wrap;
    background: rgba(0,0,0,0.2); padding: 20px; border-radius: 8px;
}

.rtm-segreteria-filters select, .rtm-segreteria-filters input {
    background: var(--rtm-bg-dark) !important; color: #fff !important; border: 1px solid var(--rtm-border-color) !important;
    padding: 10px !important; border-radius: 6px !important; font-size: 16px !important;
}

/* Badge di riepilogo */
.rtm-stats-badges { display: flex; gap: 20px; margin-bottom: 25px; }
.rtm-badge-item {
    background: var(--rtm-bg-card-alt); padding: 15px 25px; border-radius: 10px;
    font-size: 20px; font-weight: bold; border: 1px solid var(--rtm-border-color);
}
.rtm-badge-ok { border-color: var(--rtm-success-color); color: var(--rtm-success-color); }
.rtm-badge-ko { border-color: var(--rtm-danger-color); color: var(--rtm-danger-color); }

/* Tabella Segreteria */
.rtm-seg-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.rtm-seg-table th { background: var(--rtm-bg-dark); padding: 15px; text-align: left; font-size: 18px; border-bottom: 2px solid var(--rtm-border-color); }
.rtm-seg-table td { padding: 20px 15px; font-size: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; }

.seg-sp-name { font-weight: bold; color: #fff; margin-bottom: 5px; }
.seg-sp-title { font-size: 16px; color: var(--rtm-text-muted); font-style: italic; }
.seg-sp-time { font-weight: bold; font-size: 22px; }
.seg-sp-dur { font-size: 16px; opacity: 0.7; }

/* Opacità per file mancanti */
.rtm-row-file-missing { opacity: 0.4; transition: opacity 0.5s; }
.rtm-row-file-ok { opacity: 1; }

/* Effetto Lampeggio Elegante (Neon/Viola) */
.rtm-row-flash {
    animation: rtm-seg-flash 2s ease-out;
}

@keyframes rtm-seg-flash {
    0% { background-color: rgba(138, 79, 255, 0.4); }
    100% { background-color: transparent; }
}

/* ==========================================================================
   16. FILE SUPPLEMENTARI (Video, Font, Audio)
   ========================================================================== */

/* Container principale */
.rtm-supplementary-section {
    background: rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--rtm-border-color);
}

/* Lista file supplementari */
.rtm-supp-list {
    margin-bottom: 20px;
    min-height: 60px;
}

/* Messaggio "Nessun file" */
.rtm-no-files-message {
    text-align: center;
    padding: 20px;
    color: var(--rtm-text-muted) !important;
    font-style: italic;
    font-size: 14px;
}

/* Singolo item file */
.rtm-supp-file-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--rtm-bg-card-alt);
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid var(--rtm-border-color);
    transition: all 0.3s ease;
}

.rtm-supp-file-item:hover {
    background: var(--rtm-bg-card);
    border-color: var(--rtm-accent-purple);
    transform: translateX(3px);
}

/* Icona file */
.rtm-file-icon {
    font-size: 24px;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

/* Icona cliccabile per scaricare la presentazione */
a.rtm-file-download {
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform .15s, opacity .15s;
}

/* Area drag&drop presentazione */
.rtm-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 26px 18px;
    border: 2px dashed #5a5a78;
    border-radius: 10px;
    background: rgba(155,93,229,0.05);
    color: #aaa;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease;
}
.rtm-dropzone:hover {
    border-color: #9b5de5;
    background: rgba(155,93,229,0.10);
}
.rtm-dropzone-hover {
    border-color: #9b5de5 !important;
    background: rgba(155,93,229,0.20) !important;
    transform: scale(1.01);
}
.rtm-dropzone-icon { font-size: 30px; }
.rtm-dropzone-text { font-size: 14px; line-height: 1.4; }
.rtm-dropzone-text small { color: #888; }

/* Pulsante "Segna come presente in sala": grigio di default, verde al click */
.rtm-mark-grey {
    background: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}
.rtm-mark-green {
    background: #2e7d32 !important;
    border-color: #2e7d32 !important;
    color: #fff !important;
}
a.rtm-file-download:hover {
    transform: scale(1.15);
    opacity: 0.85;
}
.rtm-file-icon img.rtm-meta-icon,
a.rtm-file-download img.rtm-meta-icon {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    display: block;
}

/* Nome file */
.rtm-file-name {
    flex: 1;
    color: var(--rtm-text-light);
    font-weight: 500;
    font-size: 15px;
    word-break: break-word;
}

/* Dimensione file */
.rtm-file-size {
    color: var(--rtm-text-muted);
    font-size: 13px;
    font-weight: 400;
    min-width: 80px;
    text-align: right;
    flex-shrink: 0;
}

/* Pulsante rimuovi */
.rtm-remove-supp-file {
    background: var(--rtm-danger-color) !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.rtm-remove-supp-file:hover {
    background: var(--rtm-danger-hover-color) !important;
    transform: scale(1.05);
}

.rtm-remove-supp-file:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Area upload */
.rtm-supp-upload-area {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pulsante aggiungi file */
#rtm-add-supp-file {
    background: var(--rtm-accent-purple) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#rtm-add-supp-file:hover {
    background: var(--rtm-accent-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 79, 255, 0.4);
}

#rtm-add-supp-file:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Progress bar container */
#rtm-supp-upload-progress {
    margin-top: 15px;
}

.rtm-progress-bar {
    background: var(--rtm-bg-dark);
    border-radius: 4px;
    height: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--rtm-border-color);
}

.rtm-progress-fill {
    background: linear-gradient(90deg, var(--rtm-accent-purple) 0%, var(--rtm-accent-blue) 100%);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.rtm-progress-text {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--rtm-text-muted);
    text-align: center;
}

/* Descrizione formati supportati */
.rtm-supp-upload-area .description {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border-left: 3px solid var(--rtm-accent-purple);
    font-size: 13px;
    line-height: 1.6;
}

.rtm-supp-upload-area .description strong {
    color: var(--rtm-text-light);
    display: block;
    margin-bottom: 5px;
}

/* Animazione fadeOut per rimozione */
@keyframes rtm-fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.rtm-supp-file-item.removing {
    animation: rtm-fadeOut 0.3s ease forwards;
}

/* Responsive */
@media (max-width: 782px) {
    .rtm-supp-file-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rtm-file-name {
        flex-basis: 100%;
    }

    .rtm-file-size {
        min-width: auto;
    }

    #rtm-add-supp-file {
        width: 100%;
        justify-content: center;
    }
}

/* Miglioramento visivo info box */
.rtm-supplementary-section > .description {
    background: rgba(74, 125, 255, 0.1);
    border-left: 3px solid var(--rtm-accent-blue);
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px !important;
    line-height: 1.6;
}

.rtm-supplementary-section > .description strong {
    color: var(--rtm-text-light);
}

/* ==========================================================================
   17. FILE PRINCIPALE - UPLOAD CUSTOM (Stile identico a File Supplementari)
   ========================================================================== */

/* Container principale */
.rtm-main-file-section {
    background: rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--rtm-border-color);
}

/* Item file principale (stile identico a rtm-supp-file-item) */
.rtm-main-file-item {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 15px;
    background: var(--rtm-bg-card-alt);
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid var(--rtm-border-color);
    transition: all 0.3s ease;
}

.rtm-main-file-item:hover {
    background: var(--rtm-bg-card);
    border-color: var(--rtm-accent-purple);
    transform: translateX(3px);
}

/* Info file (container nome + meta) */
.rtm-file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Meta file (dimensione + slide count su stessa riga) */
.rtm-file-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Nel file principale: dimensione allineata a sinistra, incolonnata col nome */
.rtm-main-file-item .rtm-file-size {
    min-width: 0;
    text-align: left;
}

/* Conteggio slide */
.rtm-slides-count {
    color: var(--rtm-accent-blue);
    font-size: 13px;
    font-weight: 500;
    padding: 2px 8px;
    background: rgba(74, 125, 255, 0.15);
    border-radius: 4px;
}

/* Messaggio nessun file (stile identico a rtm-no-files-message) */
.rtm-no-file-message {
    text-align: center;
    padding: 20px;
    color: var(--rtm-text-muted) !important;
    font-style: italic;
    font-size: 14px;
    margin: 0 0 15px 0 !important;
}

/* Pulsante rimuovi file principale (stile identico a rtm-remove-supp-file) */
.rtm-remove-main-file {
    background: var(--rtm-danger-color) !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.rtm-remove-main-file:hover {
    background: var(--rtm-danger-hover-color) !important;
    transform: scale(1.05);
}

.rtm-remove-main-file:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Area upload file principale */
.rtm-main-file-upload-area {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pulsante upload principale (stile identico a #rtm-add-supp-file) */
#rtm-upload-main-file,
.rtm-upload-img-btn {
    background: var(--rtm-accent-purple) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#rtm-upload-main-file:hover,
.rtm-upload-img-btn:hover {
    background: var(--rtm-accent-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 79, 255, 0.4);
}

#rtm-upload-main-file:disabled,
.rtm-upload-img-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Progress bar file principale (stesso stile di file supplementari) */
#rtm-main-file-progress {
    margin-top: 15px;
}

#rtm-main-file-progress .rtm-progress-bar {
    background: var(--rtm-bg-dark);
    border-radius: 4px;
    height: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--rtm-border-color);
}

#rtm-main-file-progress .rtm-progress-fill {
    background: linear-gradient(90deg, var(--rtm-accent-purple) 0%, var(--rtm-accent-blue) 100%);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

#rtm-main-file-progress .rtm-progress-text {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--rtm-text-muted);
    text-align: center;
}

/* Descrizione formati supportati */
.rtm-main-file-upload-area .description {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border-left: 3px solid var(--rtm-accent-purple);
    font-size: 13px;
    line-height: 1.6;
}

.rtm-main-file-upload-area .description strong {
    color: var(--rtm-text-light);
    display: block;
    margin-bottom: 5px;
}

/* Animazione fadeOut per rimozione (riusa quella dei supplementari) */
.rtm-main-file-item.removing {
    animation: rtm-fadeOut 0.3s ease forwards;
}

/* Responsive */
@media (max-width: 782px) {
    .rtm-main-file-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rtm-file-info {
        flex-basis: 100%;
    }

    #rtm-upload-main-file {
        width: 100%;
        justify-content: center;
    }
}

/* Miglioramento visivo info box file principale */
.rtm-main-file-section > .description {
    background: rgba(74, 125, 255, 0.1);
    border-left: 3px solid var(--rtm-accent-blue);
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px !important;
    line-height: 1.6;
}

.rtm-main-file-section > .description strong {
    color: var(--rtm-text-light);
}

/* Fix: rimuovi gli stili vecchi della sezione file se ancora presenti */
.rtm-file-uploader {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #8eb4e3;
}
/* Dimesione icona eng menu regia sala */
.rtm-en-icon{
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    margin-right: 0;
}

/* =========================================================================
   SESSIONI — Header nella regia
   ========================================================================= */
.rtm-session-header {
    background: linear-gradient(135deg, var(--rtm-bg-panel, #2a2a4a) 0%, rgba(106,44,112,0.3) 100%);
    border-left: 4px solid var(--rtm-accent, #6a2c70);
    border-radius: 6px;
    margin: 16px 0 4px 0;
    padding: 12px 16px;
}
.rtm-session-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rtm-session-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}
.rtm-session-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rtm-session-title {
    font-size: 1.05em;
    font-weight: 700;
    color: var(--rtm-text-light, #fff);
}
.rtm-session-time {
    font-size: 0.85em;
    color: var(--rtm-text-muted, #aaa);
}

/* Accordion sessione */
.rtm-session-header {
    cursor: pointer;
}
.rtm-session-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rtm-session-toggle {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--rtm-text-light, #fff);
    font-size: 1em;
    cursor: pointer;
    padding: 4px 8px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.rtm-session-header.rtm-session-closed .rtm-session-toggle {
    transform: rotate(-90deg);
}
.rtm-session-body {
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.rtm-session-header.rtm-session-closed + .rtm-session-body {
    display: none;
}

/* =========================================================================
   Paginazione lista Speaker — stile uniforme al tema scuro RTM
   ========================================================================= */
#the-list ~ .tablenav .tablenav-pages .pagination-links a,
#the-list ~ .tablenav .tablenav-pages .pagination-links span,
.tablenav.top .tablenav-pages .pagination-links a,
.tablenav.top .tablenav-pages .pagination-links span,
.tablenav.bottom .tablenav-pages .pagination-links a,
.tablenav.bottom .tablenav-pages .pagination-links span {
    background: var(--rtm-bg-panel, #2a2a4a) !important;
    border: 1px solid var(--rtm-border-color, #3a3a5c) !important;
    color: var(--rtm-text-light, #e0e0ff) !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
    text-decoration: none !important;
}
.tablenav-pages a:hover,
.tablenav-pages a:focus {
    background: var(--rtm-accent, #6a2c70) !important;
    border-color: var(--rtm-accent, #6a2c70) !important;
    color: #fff !important;
}
.tablenav-pages span.current-page {
    background: var(--rtm-accent, #6a2c70) !important;
    border-color: var(--rtm-accent, #6a2c70) !important;
    color: #fff !important;
    font-weight: bold !important;
    width: 30px !important;
    text-align: center !important;
}
.tablenav-pages .total-pages,
.tablenav-pages .displaying-num {
    color: var(--rtm-text-muted, #aaa) !important;
}

/* =========================================================================
   Lista Sessioni — stesso stile della lista Speaker
   ========================================================================= */
.edit-php.post-type-rtm_session .wp-list-table{
  table-layout: auto;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
.edit-php.post-type-rtm_session .wp-list-table thead th,
.edit-php.post-type-rtm_session .wp-list-table tfoot th,
.edit-php.post-type-rtm_session .wp-list-table tbody td{
  color:var(--rtm-text-light) !important;
  border-bottom:1px solid var(--rtm-border-color) !important;
  vertical-align:middle;
  background:transparent;
  box-sizing: border-box;
  padding: 12px 10px;
}
.edit-php.post-type-rtm_session .wp-list-table tbody tr:nth-child(odd){background-color:var(--rtm-bg-card) !important;}
.edit-php.post-type-rtm_session .wp-list-table tbody tr:nth-child(even){background-color:var(--rtm-bg-card-alt) !important;}
.edit-php.post-type-rtm_session .wp-list-table tbody tr:hover{background-color:#40405f !important;}
.edit-php.post-type-rtm_session .wp-list-table thead th,
.edit-php.post-type-rtm_session .wp-list-table tfoot th{
  background-color:var(--rtm-bg-dark) !important;
  border-bottom:2px solid var(--rtm-border-color) !important;
  font-weight:600;
  text-align: left;
}
.edit-php.post-type-rtm_session .wp-list-table thead th a {
    color: var(--rtm-text-light);
}
.edit-php.post-type-rtm_session .row-title{color:var(--rtm-text-light) !important;font-weight:600;font-size:15px;}
.edit-php.post-type-rtm_session .row-title:hover{color:var(--rtm-accent-blue) !important;}
.edit-php.post-type-rtm_session .check-column{background:transparent !important; padding: 10px 0 !important;}
.edit-php.post-type-rtm_session .check-column input[type="checkbox"]{ background-color:var(--rtm-bg-dark);border-color:var(--rtm-border-color); }
.edit-php.post-type-rtm_session .row-actions{ visibility:hidden;opacity:0;transition:opacity .2s ease-in-out; display:flex;flex-wrap:nowrap;gap:4px;position:static; margin-top: 5px; }
.edit-php.post-type-rtm_session .wp-list-table tr:hover .row-actions{visibility:visible;opacity:1;}
.edit-php.post-type-rtm_session .row-actions span{float:none;display:inline;font-size:0;}
.edit-php.post-type-rtm_session .row-actions span a{ font-size:10px;padding:4px 8px;border-radius:3px;text-decoration:none;color:#fff;font-weight:800;line-height:1; }
.edit-php.post-type-rtm_session .row-actions .edit a{background-color:#337836;}
.edit-php.post-type-rtm_session .row-actions .trash a{background-color:#b32d2e;}
.edit-php.post-type-rtm_session .tablenav .actions select{ background-color:var(--rtm-bg-dark);color:var(--rtm-text-light); border:1px solid var(--rtm-border-color);border-radius:6px;height:36px; }
.edit-php.post-type-rtm_session .tablenav .actions input[type=submit]{ background-color:var(--rtm-accent-purple);border-color:var(--rtm-accent-purple);color:#fff;border-radius:6px;height:36px; transition: background .3s; }
.edit-php.post-type-rtm_session .tablenav .actions input[type=submit]:hover { background-color: var(--rtm-accent-blue); border-color: var(--rtm-accent-blue); }
/* Larghezze colonne sessione */
.edit-php.post-type-rtm_session .wp-list-table th.column-cb,
.edit-php.post-type-rtm_session .wp-list-table td.column-cb{ width: 36px; padding: 0 5px; }
.edit-php.post-type-rtm_session .wp-list-table th.column-rtm_session_title,
.edit-php.post-type-rtm_session .wp-list-table td.column-rtm_session_title{ width: auto; min-width: 200px; }
.edit-php.post-type-rtm_session .wp-list-table th.column-rtm_session_sala,
.edit-php.post-type-rtm_session .wp-list-table td.column-rtm_session_sala{ width: 15%; }
.edit-php.post-type-rtm_session .wp-list-table th.column-rtm_session_giorno,
.edit-php.post-type-rtm_session .wp-list-table td.column-rtm_session_giorno{ width: 15%; white-space: nowrap; }
.edit-php.post-type-rtm_session .wp-list-table th.column-rtm_session_orario,
.edit-php.post-type-rtm_session .wp-list-table td.column-rtm_session_orario{ width: 12%; white-space: nowrap; }

/* Barra "Verifica in corso" — indeterminata, effetto avanti-indietro */
.rtm-verify-bar{background:#f0f0f0;border-radius:4px;height:24px;position:relative;overflow:hidden;}
.rtm-verify-fill{position:absolute;top:0;height:100%;width:40%;background:#feae18;border-radius:4px;animation:rtm-verify-slide 2.2s ease-in-out infinite;}
@keyframes rtm-verify-slide{
	0%{left:-40%;}
	50%{left:60%;}
	100%{left:-40%;}
}