/**
 * CSS Front — Réservations Compagnies
 * 
 * Styles de base pour l'espace pro.
 * À customiser selon la charte graphique du site.
 * 
 * @package TheatreEssaion
 * @since 2.3.0
 */

/* ═════════════════════════════════════════════════════════════════════ */
/* CONTAINER PRINCIPAL */
/* ═════════════════════════════════════════════════════════════════════ */

.te-reservations-front-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
}

.te-front-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #000000;
}

.te-front-titre-spectacle {
    letter-spacing: 0;
    margin: 10px 0;
    line-height: 1.2em;
    font-size: 32px;
}

.te-front-dates-calendrier {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
}

.te-front-sous-titre {
    color: #666;
    font-size: 1.1em;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* MINI-CALENDRIERS */
/* ═════════════════════════════════════════════════════════════════════ */

/* RÉCUPÉRÉ DE aadmin-reservations(-v2).css */

/* Conteneur général des 2 calendriers */
#te-calendriers-wrapper {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Conteneur de chaque mini-calendrier */
.te-calendrier {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;

    border: 1px solid #ccd0d4;
    border-radius: 6px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    width: 260px;
}

/* Titre du mois */
.te-calendrier strong {
    display: block;
    text-align: center;
    font-size: 16px;
    /* color: #2271b1; bleu WP admin (mais aussi, plus bas : #0073aa ???) */
    margin-bottom: 8px;
}

/* Grille des jours */
.te-grid-jours {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.te-grid-jours div {
    text-align: center;
    padding: 4px 0;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

/* Entête des jours de la semaine (Lun Mar Mer...) */
.te-grid-jours .entete-jour {
    font-weight: bold;
    text-align: center;
}

/* Case de jour */
.te-grid-jours .te-jour {
    text-align: center;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.2s;
}

/* Jour actif sélectionné */
.te-grid-jours .te-jour.te-actif {
    background-color: #0073aa; /* bleu primaire WP */
    background-color:#000000;
    color: #fff;
}

/* Autres jours disponibles (cliquables) */
.te-grid-jours .te-jour.te-disponible {
    cursor: pointer;
    background-color: #f1f1f1; /* gris clair comme bouton secondaire */
    color: #0073aa;
    color:#000000;
    border: 1px solid #ccc;
}
.te-grid-jours .te-jour.te-disponible:hover {
    border-color: #0073aa;
    border-color: #000000;
}

/* Aujourd'hui */
.te-grid-jours .te-jour.te-aujourdhui {
    border: 1px solid #dd1c1a;
    font-weight: bold;
}

/* Jour inactif / pas de représentation */
.te-grid-jours .te-jour.inactif {
    color: #999;
    cursor: default;
    background-color: #fff;
}

/* Boutons de navigation (.te-nav-mois-btn) */
#te-prev-mois,
#te-next-mois {
    background: #f6f7f7;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 5px 10px;
    color: #2271b1;
    color:#000000;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
}
#te-prev-mois:hover,
#te-next-mois:hover {
    background: #2271b1;
    background: #000000;
    color: white;
}
#te-prev-mois:disabled,
#te-next-mois:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Date sélectionnée (texte sous le calendrier) */
#date-selectionnee {
    margin-top: 10px;
    color: #1d2327;
    font-size: 14px;
}

/*** RESPONSIVE SMARTPHONE ONLY ***/
@media (max-width: 767px) {
    #te-calendriers-wrapper {
        position: relative; /* nécessaire pour que les boutons en absolute soient relatifs au wrapper */
        margin-top: 70px;
    }
    .te-calendrier {
        margin: 0 auto 20px;
    }

    #te-prev-mois,
    #te-next-mois {
        position: absolute;
        top: -50px; /* au-dessus du calendrier, ajuster si nécessaire */
        z-index: 10;
    }
    #te-prev-mois {
        left: 0;
    }
    #te-next-mois {
        right: 0;
    }
}








.te-front-mini-calendriers {
    margin-bottom: 30px;
}

/* Réutilise les styles admin des mini-cals si déjà chargés, sinon : */
.te-mini-cal-jour {
    display: inline-block;
    padding: 8px 12px;
    margin: 3px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.te-mini-cal-jour:hover {
    background: #e0e0e0;
}

.te-mini-cal-jour.actif {
    background: #dd1c1a;
    color: white;
    border-color: #dd1c1a;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* PANELS */
/* ═════════════════════════════════════════════════════════════════════ */

.te-tab-pane {
    display: none;
}

.te-tab-pane.actif {
    display: block;
}

.te-resa-date-jour {
    margin-bottom: 10px;
    letter-spacing: 0;
}

.te-resa-bloc-horaire {
    margin-bottom: 40px;
}

.te-resa-horaire {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0;    
}

.te-horaire-heure {
}

.te-total-general {
    background-color: yellow;
    padding: 5px 10px;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* JAUGE HORAIRE — Remplissage salle par représentation */
/* ═════════════════════════════════════════════════════════════════════ */

/* ── Conteneur principal ─────────────────────────────────────────────────── */
.te-jauge-wrapper {
    margin: 6px 0 20px 0;
    padding: 8px 12px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #d2d2d2;
    /* border-left: 4px solid #76a1cc; */
    padding: 15px;
    border-radius: 5px;
    width: 60%;
}
@media (max-width: 768px) {
    .te-jauge-wrapper {
        width: 100%;
    }
}
.te-jauge-wrapper.te-jauge-surbook {
    background: #fff5f5;
    border-left-color: #991b1b;
    animation: te-jauge-pulse 1.5s ease-in-out infinite;
}

@keyframes te-jauge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(153, 27, 27, 0); }
    50%       { box-shadow: 0 0 0 4px rgba(153, 27, 27, 0.15); }
}

/* ── Barre de progression ────────────────────────────────────────────────── */
.te-jauge-barre-outer {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.te-jauge-barre-inner {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease, background-color 0.4s ease;
    min-width: 2px; /* visible même à 0% */
}

/* ── Ligne chiffres (%, total/max, salle, badges) ────────────────────────── */
.te-jauge-chiffres {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.3;
}

.te-jauge-pct {
    font-weight: 700;
    font-size: 15px;
    min-width: 40px;
}

.te-jauge-detail {
    color: #374151;
}

.te-jauge-salle {
    color: #9ca3af;
    font-style: normal;
    font-size: 12px;
}

/* Badge ≥ 90% */
.te-jauge-alerte-badge {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
    border-radius: 3px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* Badge surbooking */
.te-jauge-surbook-badge {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 3px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    animation: te-badge-blink 1s step-start infinite;
}

@keyframes te-badge-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* ── Ligne sources (BR | Revend. | Th. | Cie | Invités) ─────────────────── */
.te-jauge-sources {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 12px;
    color: #4b5563;
}

.te-jauge-source {
    padding: 0 10px;
    border-right: 1px solid #d1d5db;
    white-space: nowrap;
    cursor: default;
}
.te-jauge-source svg {
    vertical-align: middle;
    vertical-align: text-top;
    margin-right: 3px;
    flex-shrink: 0;
}

.te-jauge-source:first-child {
    padding-left: 0;
}

.te-jauge-source:last-child {
    border-right: none;
}

/* Couleurs légères par source */
.te-jauge-source-br          { color: #1E3A8A; } /* Idem variable globale dans constantes.php */
.te-jauge-source-revendeurs  { color: #2563EB; } /*                idem                       */
.te-jauge-source-starter     { color: #60A5FA; } /*                idem                       */
.te-jauge-source-theatre     { color: #dd1c1a; } /*                idem                       */
.te-jauge-source-abonnes     { color: #F59E0B; } /*                idem                       */
.te-jauge-source-compagnie   { color: #15803D; } /*                idem                       */
.te-jauge-source-invites     { color: #22C55E; font-style: italic; } /* légèrement foncé par rapport à la variable globale */
.te-jauge-vide               { color: #9ca3af; font-style: italic; padding-left: 0; }

/* ═════════════════════════════════════════════════════════════════════ */
/* TABLEAUX */
/* ═════════════════════════════════════════════════════════════════════ */

.te-liste-reservations {
    width: 100%;
    margin-bottom: 30px;
    border-collapse: collapse;
    background: white;
}

.te-liste-reservations th,
.te-liste-reservations td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    color: #000000!important;
}

.te-titre-tableau {
    /* background: #f9f9f9; */
    background-color: #F5F5F5;
    padding: 15px !important;
}

.te-titre-tableau h4 {
    color: #FFFFFF;
    background-color: #000000;
    display: inline-block;
    padding: .5rem;
    margin-top: 5px;    
    letter-spacing: 0;
}

.te-en-tete {
    background: #f5f5f5;
    font-weight: 600;
}

/* Cache la colonne 'Tarif' dans BR */
.te-liste-reservations.te-br th:nth-child(3) {
  display: none;
}
.te-liste-reservations.te-br td:nth-child(3) {
  display: none;
}

.no-reservation {
    padding: 20px !important;
    color: #000000!important;
}



.te-column-reporter,
.te-column-modifier,
.te-column-supprimer {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* SECTIONS LECTURE SEULE */
/* ═════════════════════════════════════════════════════════════════════ */

.te-readonly {
    opacity: 0.9;
}

.te-readonly tbody tr {
    background: #fafafa;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* REPORTS */
/* ═════════════════════════════════════════════════════════════════════ */

.mention-origine {
    color: #666;
    font-weight: 600;
}
.te-form-reporter {
    background: #fafafa;
    padding: 10px;
    border: 1px solid #ddd;
    margin-top: 5px;
}
.te-form-reporter select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0 8px;
    min-height: 33px;
    font-size:13px;
    color:#000000;
    background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
    background-size: 13px 13px;
}
.resa-reportee-vers .mention-origine {
    background-color: #ff6f00;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.2em 0.5em;
}
.texte-report {
    align-items: center;
}
.txt-report {
    display: block;
    font-weight: 600;
    font-weight: bold;
    color: #ff6f00;
}
.supprimer-report {
    font-weight: normal;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* FORMULAIRES */
/* ═════════════════════════════════════════════════════════════════════ */

.te-reservation-form {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    margin: 15px 0;
}
.te-form-modifier-reservation {
    background-color: #F9F9F9;
}
.te-form-modifier-reservation > td {
    padding: 24px!important;
}

.form-ajouter-modifier {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.form-ajouter-modifier label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    line-height: 1.4em;
}

.form-ajouter-modifier input[type="text"],
.form-ajouter-modifier input[type="email"],
.form-ajouter-modifier input[type="number"],
.form-ajouter-modifier select,
.form-ajouter-modifier textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
}

.form-ajouter-modifier input:focus,
.form-ajouter-modifier select:focus,
.form-ajouter-modifier textarea:focus {
    outline: none;
    border-color: #dd1c1a;
}

.form-ajouter-modifier select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: 0 8px;
	min-height: 33px;
	font-size:13px;
	color:#000000;
    background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
	background-size: 13px 13px;
}

/* Commentaire (2 colonnes) */
.te-champ-commentaire {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
}

.te-champ-commentaire textarea {
    flex: 1;
    min-height: 80px;
}

.te-buttons-alignes-wrapper {
    grid-column: span 2;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.button-primary {
    background: #dd1c1a;
    color: white;
}
.button-primary:hover {
    background: #b81515;
}
/* Site Avignon */
.site-avignon .button-primary,
.site-avignon .button-primary:hover {
    background: #336699;
}

/* Erreur(s) */
.te-champ-erreur {
    border-color: #d00 !important;
    background: #fff0f0 !important;
}
.te-form-erreurs {
    background: #fff0f0;
    border: 1px solid #d00;
    padding: 10px;
    margin-bottom: 15px;
    color: #d00;
}
/* Message d'erreur prend toute la largeur du grid */
.te-form-erreurs {
    grid-column: 1 / -1;
}
/* Champs en erreur */
.te-champ-erreur {
    border: 2px solid #c62828 !important;
    background-color: #ffebee !important;
}
.te-champ-erreur:focus {
    outline: 2px solid #c62828;
    outline-offset: 2px;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* ACTIONS LIENS */
/* ═════════════════════════════════════════════════════════════════════ */

.te-modifier-reservation,
.te-toggle-form-link,
.supprimer-reservation {
    color: #dd1c1a;
    text-decoration: none;
    font-weight: 500;
}
/* Site Avignon */
.site-avignon .te-modifier-reservation,
.site-avignon .te-toggle-form-link,
.site-avignon .supprimer-reservation,
.site-avignon .te-btn-reporter {
    color: #336699;
}

.te-representation-complete {
    margin: 25px 0 10px;
    font-weight: 500;
}
/* Cible le PREMIER span (Représentation complète) */
.te-representation-complete span:nth-of-type(1) {
    background-color: #dd1c1a;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 7px 10px 9px;
    margin-top: 10px;
}
/* Cible le DEUXIÈME span (Impossible d'enregistrer...) */
.te-representation-complete span:nth-of-type(2) {
    margin-left: 10px;
    color: #dd1c1a;
}
/* Site Avignon */
.te-representation-complete span:nth-of-type(2) {
    color: #336699;
}

.te-modifier-reservation:hover,
.te-toggle-form-link:hover {
    text-decoration: underline;
}
.te-toggle-form-link {
  display: inline-block; /* Permet aux marges de fonctionner */
  margin-top: 10px;
}

.supprimer-reservation {
    color: #b32d2e;
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* ICÔNES */
/* ═══════════════════════════════════════════════════════════════════════ */

.te-actions-icones {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.te-actions-icones a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #dd1c1a; /* #b32d2e ? */
    text-decoration: none;
    transition: background 0.15s;
}

.te-actions-icones a:hover {
    background: #f5f5f5;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* MESSAGES APRÈS ACTIONS */
/* ═════════════════════════════════════════════════════════════════════ */

.te-msg {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}
.te-msg--success {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    color: #15803d;
}
.te-msg--error {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    color: #b91c1c;
}

/* ═════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE */
/* ═════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .te-front-titre-spectacle {
        line-height: 1.2em;
        font-size: 24px;
    }
    .te-front-dates-calendrier {
        font-size: 18px;
    }

    .te-toggle-form-link {
          font-size: 16px;
    }
    .form-ajouter-modifier {
        grid-template-columns: 1fr;
    }
    /* On force tous les enfants directs à ne pas déborder */
    .form-ajouter-modifier > div, 
    .form-ajouter-modifier > input {
        grid-column: 1 / -1 !important; 
        width: 100% !important;
    }   
    .form-ajouter-modifier .checkbox-email-demandeur,
    .form-ajouter-modifier .checkbox-email-spectateur {
        margin-top:0!important;
    }

    .te-reservations-front-container {
        padding: 10px;
    }
    
    .te-liste-reservations {
        font-size: 0.9em;
    }
    
    .te-liste-reservations th,
    .te-liste-reservations td {
        padding: 6px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE - Version consulter/modifier
   ═══════════════════════════════════════════════════════════════════════ */

/* Desktop : masque version mobile */
@media (min-width: 768px) {
    .te-mobile-container {
        display: none;
    }
}

/* Mobile : masque tableau, affiche version mobile */
@media (max-width: 767px) {
    
    /* Masque le tableau desktop */
    .te-resa-section table tbody tr {
        display: none;
    }
    /* Garde le titre de section et le bouton Ajouter */
    .te-resa-section h4,
    .te-resa-section .te-toggle-form-link {
        display: block !important;
    }
    /* Masque les en-têtes */
    .te-resa-section .te-en-tete {
        display: none;
    }

    /* ─── CARTE MOBILE ──────────────────────────────────────────────── */
    
    .te-mobile-row {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    
    /* ─── LIGNE PRINCIPALE ──────────────────────────────────────────── */
    
    .te-mobile-summary {
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 12px;
        align-items: center;
        padding: 12px 15px;
        background: #f8f8f8;
    }
    
    .te-mobile-nom {
        font-weight: 600;
        font-size: 13px;
        color: #333;
    }
    
    .te-mobile-places {
        font-size: 14px;
        color: #666;
        white-space: nowrap;
    }
    
    .te-mobile-actions {
        display: flex;
        gap: 8px;
    }
    
    /* ─── BOUTONS ICÔNES ────────────────────────────────────────────── */
    
    .te-mobile-btn {
        /* width: 36px;
        height: 36px; */
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s;
        padding: 0;
    }
    
    .te-mobile-btn:active {
        transform: scale(0.95);
    }
    
    .te-mobile-btn svg {
        width: 18px;
        height: 18px;
        /* color: #666; */
        color: #d32f2f;
    }
    
    .te-mobile-btn-consulter.active {
        /* background: #0073aa;
        border-color: #0073aa; */
        background: #dd1c1a;
        border-color: #dd1c1a;
    }
    .te-mobile-btn-consulter.active svg {
        color: #fff;
    }
    
    .te-mobile-btn-modifier.active {
        /* background: #0073aa;
        border-color: #0073aa; */
        background: #dd1c1a;
        border-color: #dd1c1a;
    }  
    .te-mobile-btn-modifier.active svg {
        color: #fff;
    }
    
    .te-mobile-btn-reporter.active {
        background: #dd1c1a;
        border-color: #dd1c1a;
    }
    .te-mobile-btn-reporter.active svg {
        color: #fff;
    }

    .te-mobile-btn-supprimer svg {
        color: #d32f2f;
    }
    
    .te-mobile-btn-reporter svg {
        /* color: #f57c00; */
        color: #dd1c1a;
    }
    
    /* Masque les boutons selon l'état */
    .te-mobile-row.state-consulter .te-mobile-btn-modifier,
    .te-mobile-row.state-consulter .te-mobile-btn-reporter,
    .te-mobile-row.state-consulter .te-mobile-btn-supprimer {
        display: none;
    }    
    .te-mobile-row.state-modifier .te-mobile-btn-consulter,
    .te-mobile-row.state-modifier .te-mobile-btn-reporter,
    .te-mobile-row.state-modifier .te-mobile-btn-supprimer {
        display: none;
    }
    .te-mobile-row.state-reporter .te-mobile-btn-consulter,
    .te-mobile-row.state-reporter .te-mobile-btn-modifier,
    .te-mobile-row.state-reporter .te-mobile-btn-supprimer {
        display: none !important;
    }

    /* ─── DÉTAILS DÉPLIÉS ───────────────────────────────────────────── */
    
    .te-mobile-details {
        padding: 15px;
        border-top: 1px solid #eee;
    }
    
    .te-mobile-detail-row {
        padding: 8px 0;
        font-size: 14px;
        color: #333;
    }
    
    .te-mobile-detail-row strong {
        color: #666;
        font-weight: 600;
        display: inline-block;
        min-width: 100px;
    }
    
    .te-mobile-detail-row a {
        color: #0073aa;
        text-decoration: none;
    }

    .te-mobile-nom-secondaire {
        color:#666666;
    }

    .te-mobile-mention-report {
        display: inline-block;
    }
    .te-mobile-mention-report.entrant {
        background-color: #ff6f00;
        color: #FFFFFF;
        padding: 0.05em 0.5em;
    }
    .te-mobile-mention-report.sortant {
        color:#ff6f00;
        margin-left: 5px;
    }

    /* ─── FORMULAIRE MODIFICATION ───────────────────────────────────── */
    
    .te-mobile-form {
        padding: 15px;
        border-top: 1px solid #eee;
    }
    
    /* .te-mobile-form .te-buttons-alignes-wrapper .te-annuler-modifier {
        background-color: #FFFFFF;
        border: 1px solid #000000;
    } */
    .te-mobile-form .te-buttons-alignes-wrapper .te-annuler-modifier,
    .te-mobile-form .te-buttons-alignes-wrapper .te-annuler-modifier:link,
    .te-mobile-form .te-buttons-alignes-wrapper .te-annuler-modifier:visited {
        background-color: #FFFFFF;
        border: 1px solid #000000;
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
    }

    /* ─── FORMULAIRE REPORTER ───────────────────────────────────────── */

    .te-form-reporter-mobile select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        padding: 0 8px;
        min-height: 33px;
        font-size:13px;
        color:#000000;
        background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
        background-size: 13px 13px;
    }

    .te-form-reporter-mobile .te-reporter-annuler-mobile,
    .te-form-reporter-mobile .te-reporter-annuler-mobile:link,
    .te-form-reporter-mobile .te-reporter-annuler-mobile:visited {
        background-color: #FFFFFF;
        border: 1px solid #000000;
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
    }

    /* ─── THÉÂTRE & BR (READONLY) ───────────────────────────────────── */

    /* Sections readonly : pas d'interactions */
    .te-mobile-readonly .te-mobile-summary {
        background: #fafafa;
        cursor: default;
    }

    .te-mobile-readonly .te-mobile-details {
        border-top: 1px solid #eee;
    }    
}