/* Frontend – Exxell Extranet */

.exxell-dashboard {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 20px;
}

.exxell-btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.exxell-btn-primary {
    background: #0073aa;
    color: #fff;
}

.exxell-btn-primary:hover {
    background: #005a87;
}

.exxell-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 4px;
    background: #eee;
}

.exxell-badge-success { background: #46b450; color: #fff; }
.exxell-badge-warning { background: #ffb900; color: #000; }
.exxell-badge-danger  { background: #dc3232; color: #fff; }


/* ----- Login (2 colonnes) ----- */
.exxell-login-hero {
  min-height: 100vh;
  background: transparent !important;  /* au lieu du blanc */
  display:flex;
  align-items:center;
  padding:40px 24px;
}

.exxell-login-grid {
  width:100%; max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:1.2fr 0.8fr; gap:40px; align-items:center;
}
.exxell-login-left { text-align:center; }
.exxell-login-hero-logo { max-width:520px; width:100%; height:auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.08)); }
.exxell-login-right { display:flex; justify-content:center; }
.exxell-login-card {
  background:#ffffff;   /* reste blanc */
  border-radius:8px;
  box-shadow:0 4px 16px rgba(0,0,0,0.06); /* plus léger qu’avant */
  padding:32px;
  width:100%;
  max-width:360px;
}


.exxell-form-group { margin-bottom:14px; }
.exxell-form-group label { display:block; font-size:14px; color:#2f3a4a; margin-bottom:6px; }
.login-field { width:100%; padding:10px 12px; border:1px solid #dbe3ee; border-radius:8px; background:#eaf1ff; color:#0a2a4a; }
.login-field:focus { outline:none; border-color:#99b7ff; background:#eef4ff; }
.login-remember label { font-size:13px; color:#495a6a; }

.exxell-button { display:inline-block; border:0; border-radius:10px; padding:11px 16px; cursor:pointer; background:#2f6df6; color:#fff; font-weight:600; box-shadow:0 6px 14px rgba(47,109,246,.28); transition:transform .05s ease, box-shadow .2s ease; }
.exxell-button:hover { transform:translateY(-1px); box-shadow:0 8px 18px rgba(47,109,246,.34); }
.exxell-button--full { width:100%; }

.exxell-logout-container { position:fixed; top:12px; right:12px; z-index:9999; }
.exxell-logout-button { background:#e74c3c; color:#fff; padding:8px 12px; border-radius:6px; text-decoration:none; }
.exxell-logout-button:hover { background:#c0392b; color:#fff; }

.exxell-recaptcha { margin:10px 0 6px; }

/* responsive */
@media (max-width:980px){
  .exxell-login-grid { grid-template-columns:1fr; gap:24px; }
  .exxell-login-left { order:2; }
  .exxell-login-right { order:1; }
  .exxell-login-hero-logo { max-width:360px; }
}



/* ----- Dashboard client : onglets ----- */
.exxell-client-dashboard { padding-top: 8px; }
.exxell-tabs {
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px;
  border-bottom: 1px solid #e5e7eb;
}
.exxell-tab {
  display:inline-block; padding:10px 14px; text-decoration:none; color:#334155;
  border-radius: 8px 8px 0 0; background:#f8fafc;
}
.exxell-tab:hover { background:#eef2f7; }
.exxell-tab.is-active {
  background:#ffffff; color:#111827; font-weight:600;
  border:1px solid #e5e7eb; border-bottom-color: #ffffff;
  border-bottom-width: 0; margin-bottom: -1px;
}
.exxell-tabpanel { background:#ffffff; border:1px solid #e5e7eb; border-radius: 0 10px 10px 10px; padding: 12px; }

/* Optionnel : neutraliser le "hero" blanc/gris des shortcodes inclus si tu veux un bloc plus compact */
.exxell-client-dashboard .exxell-login-hero { background: transparent !important; min-height: auto; padding: 0; }
.exxell-client-dashboard .exxell-login-grid { max-width: 100%; display:block; }
.exxell-client-dashboard .exxell-login-left { display:none; }
.exxell-client-dashboard .exxell-login-right { display:block; }
.exxell-client-dashboard .exxell-login-card { box-shadow:none; padding:0; max-width:none; background:transparent; }


/* Alerts visibles */
.exxell-login-success{
  background:#ecfdf5;
  border:1px solid #10b981;
  color:#065f46;
  padding:12px 14px;
  border-radius:10px;
  font-weight:600;
  margin-bottom:14px;
  box-shadow: inset 0 1px 0 #d1fae5;
}
.exxell-login-errors{
  background:#fee2e2;
  border:1px solid #ef4444;
  color:#7f1d1d;
  padding:12px 14px;
  border-radius:10px;
  font-weight:600;
  margin-bottom:14px;
  box-shadow: inset 0 1px 0 #fecaca;
}


/* Cartes infos site/sensibles */
.exxell-info-card {
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:8px;
  padding:16px;
  margin-bottom:14px;
}
.exxell-info-card h4 {
  margin:0 0 8px;
  font-size:16px;
  color:#111827;
}
.exxell-info-content p { margin: 0 0 8px; }
.exxell-meta {
  font-size:12px;
  color:#6b7280;
  margin-top:10px;
}


.exxell-docs-list { padding-left:18px; }
.exxell-docs-list li { margin:6px 0; }
.exxell-docs-date { color:#6b7280; font-size:12px; margin-left:6px; }


/* Vue Hotline centrée */
.exxell-hotline-view {
  padding: 10px 16px 24px; /* moins de marge en haut */
  background: #ffffff;
}

/* Grille hotline : centrée et large */
.exxell-hotline-grid {
  width: 100%;
  max-width: 1200px;   /* largeur maxi du conteneur */
  margin: 0 auto;
  display: flex;
  justify-content: center; /* centre horizontalement */
}

/* Carte hotline : moitié de la largeur totale */
.exxell-hotline-card {
  width: 50%;          /* prend la moitié de la page */
  max-width: 700px;    /* limite pour éviter trop large sur grands écrans */
  min-width: 480px;    /* pour que ça reste lisible sur petits écrans */
  padding: 32px;
}

/* Carte Hotline : statut sur UNE ligne */
.exxell-hotline-card .exxell-status-line{
  display:flex;
  align-items:center;
  gap:8px;
  margin:8px 0 14px;
}
.exxell-hotline-card .exxell-status-line strong{
  min-width:120px;         /* aligne la colonne des labels */
}
.exxell-hotline-card .exxell-status-text{
  display:inline-flex;     /* évite le retour à la ligne */
  align-items:center;
}



/* petit ajustement des alertes pour rester visibles */
.exxell-login-success,
.exxell-login-errors {
  margin-bottom: 16px;
}




/* --- Informations (onglets catégories) --- */

.exx-md-wrap { margin-top: 12px; }
.exx-subtabs {
  list-style: none; display: flex; gap: 10px; margin: 0 0 12px; padding: 0;
}
.exx-subtab {
  padding: 8px 14px; border: 1px solid #dbe3ee; border-radius: 10px;
  background: #f7fafc; font-weight: 600; cursor: pointer; user-select: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.exx-subtab:hover { background: #eef4ff; }
.exx-subtab.is-active { background: #2f6df6; color: #fff; border-color: #2f6df6; }

.exx-subpanel { display: none; }
.exx-subpanel.is-active { display: block; }

.exxell-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid #e8eef7; border-radius: 12px; overflow: hidden;
}
.exxell-table thead th {
  background: #f9fbff; font-weight: 700; color: #243b5a;
  text-align: left; padding: 12px 14px; border-bottom: 1px solid #e8eef7;
}
.exxell-table tbody td, .exxell-table tbody th {
  padding: 12px 14px; border-top: 1px solid #eef3fb;
}
.exxell-table tbody th { width: 34%; font-weight: 600; color: #2b3f5c; background: #f7fbff; }
.exxell-table tbody td { background: #fff; }



/* Sous-onglets + tableaux (Documents) */
.exx-md-wrap { margin-top: 12px; }
.exx-subtabs { list-style:none; display:flex; gap:10px; margin:0 0 12px; padding:0; }
.exx-subtab { padding:8px 14px; border:1px solid #dbe3ee; border-radius:10px; background:#f7fafc; font-weight:600; cursor:pointer; user-select:none; }
.exx-subtab:hover { background:#eef4ff; }
.exx-subtab.is-active { background:#2f6df6; color:#fff; border-color:#2f6df6; }
.exx-subpanel { display:none; }
.exx-subpanel.is-active { display:block; }

.exxell-table { width:100%; border-collapse:collapse; background:#fff; border:1px solid #e8eef7; border-radius:12px; overflow:hidden; }
.exxell-table thead th { background:#f9fbff; font-weight:700; color:#243b5a; text-align:left; padding:12px 14px; border-bottom:1px solid #e8eef7; }
.exxell-table tbody td, .exxell-table tbody th { padding:12px 14px; border-top:1px solid #eef3fb; }
.exxell-table tbody th { width:34%; font-weight:600; color:#2b3f5c; background:#f7fbff; }



/* --- Documents (globaux + privés) : même rendu --- */
.exx-subtabs { display:flex; gap:12px; margin:10px 0 14px; }
.exx-subtab { display:inline-block; padding:8px 12px; border-radius:8px; background:#eef2ff; color:#1f2a44; text-decoration:none; font-weight:600; }
.exx-subtab.is-active { background:#2f6df6; color:#fff; }

.exx-doc-list { list-style:none; margin:10px 0 0; padding:0; }
.exx-doc-item { display:flex; align-items:center; gap:10px; padding:8px 10px; border-bottom:1px solid #eef2f7; }
.exx-doc-bullet { color:#1f2a44; margin-right:2px; }
.exx-doc-name { text-decoration:none; }
.exx-doc-name:hover { text-decoration:underline; }
.exx-doc-date { font-size:12px; color:#738096; margin-left:4px; }
.exx-doc-dl { margin-left:auto; font-size:13px; text-decoration:none; background:#eef2ff; padding:6px 10px; border-radius:6px; }
.exx-doc-dl:hover { background:#dfe7ff; }
.exx-doc-size { font-size:12px; color:#738096; margin-left:4px; }




/* Hotline : annuaire simple */
.exx-hl-ul { list-style:none; margin:12px 0 0; padding:0; }
.exx-hl-li { padding:10px 12px; border-bottom:1px solid #eef2f7; }
.exx-hl-link { display:flex; align-items:center; gap:10px; text-decoration:none; }
.exx-hl-link strong { color:#0a2a4a; }
.exx-hl-mail { font-size:12px; color:#6b7280; }

/* Tabs déjà présents, on harmonise juste si besoin */
.exx-tabs { display:flex; gap:10px; margin:10px 0 14px; flex-wrap:wrap; }
.exx-tab { padding:8px 12px; border-radius:8px; background:#eef2ff; color:#1f2a44; text-decoration:none; font-weight:600; }
.exx-tab.is-active { background:#2f6df6; color:#fff; }

/* Sous-onglets documents, mêmes styles que côté client */
.exx-subtabs { display:flex; gap:12px; margin:10px 0 14px; }
.exx-subtab { display:inline-block; padding:8px 12px; border-radius:8px; background:#eef2ff; color:#1f2a44; text-decoration:none; font-weight:600; }
.exx-subtab.is-active { background:#2f6df6; color:#fff; }

/* Listes documents */
.exx-doc-list { list-style:none; margin:10px 0 0; padding:0; }
.exx-doc-item { display:flex; align-items:center; gap:10px; padding:8px 10px; border-bottom:1px solid #eef2f7; }
.exx-doc-bullet { color:#1f2a44; margin-right:2px; }
.exx-doc-name { text-decoration:none; }
.exx-doc-name:hover { text-decoration:underline; }
.exx-doc-size { font-size:12px; color:#738096; margin-left:4px; }
.exx-doc-dl { margin-left:auto; font-size:13px; text-decoration:none; background:#eef2ff; padding:6px 10px; border-radius:6px; }
.exx-doc-dl:hover { background:#dfe7ff; }

/* Infos table */
.exx-info-group { margin:12px 0 16px; }
.exx-info-table { width:100%; border-collapse:collapse; }
.exx-info-table th, .exx-info-table td { border-bottom:1px solid #eef2f7; padding:10px; }

/* Table historiques simple */
.exx-table { width:100%; border-collapse:collapse; }
.exx-table th, .exx-table td { border-bottom:1px solid #eef2f7; padding:8px; }



/* ===== Cloche Hotline ===== */
.exx-bell-wrap{
  position:fixed; right:18px; top:40%; transform:translateY(-50%);
  z-index:9999;
}
.exx-bell{
  position:relative;
  width:56px;height:56px;border-radius:50%;
  border:0; cursor:pointer;
  background:#1f2937; color:#fff; font-size:24px; line-height:56px; text-align:center;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
.exx-bell-badge{
  position:absolute; right:-6px; top:-6px; min-width:22px;
  background:#ef4444; color:#fff; font-weight:700; font-size:12px;
  border-radius:999px; padding:2px 6px;
}
.exx-bell-panel{
  position:fixed; right:88px; top:40%; transform:translateY(-50%);
  width:360px; max-width:90vw;
  background:#fff; border:1px solid #e5e7eb; border-radius:12px;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.exx-bell-head{ display:flex; justify-content:space-between; align-items:center; padding:10px 12px; border-bottom:1px solid #eef2f7;}
.exx-bell-close{ background:transparent;border:0;font-size:18px;cursor:pointer; color:#374151;}
.exx-bell-list{ max-height:60vh; overflow:auto; padding:8px 0;}
.exx-bell-item{ padding:10px 12px; border-bottom:1px solid #f1f5f9;}
.exx-bell-item strong{ display:block; color:#0f172a;}
.exx-bell-item small{ color:#64748b;}
.exx-bell-item a{ display:inline-block; margin-top:6px; }
.exx-bell-empty{ padding:16px; color:#6b7280; text-align:center;}
.exx-bell-foot{ padding:10px 12px; border-top:1px solid #eef2f7;}


/* Badge compact à utiliser dans la liste et sur les onglets */
.exx-badge {
  display:inline-block;
  min-width:16px;
  height:16px;
  line-height:16px;
  padding:0 5px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-weight:700;
  font-size:10px;
  text-align:center;
  vertical-align:middle;
}
.exx-nav a { position:relative; } /* si tes onglets ont une classe exx-nav */
.exx-badge.ml6 { margin-left:6px; }

/* Badge de notification de la cloche — petit rond en haut-gauche */
#exx-bell .exx-bell-count,
#exx-bell .exx-bell-badge,
#exx-bell .exx-bell-pill {
  position: absolute !important;
  left: -6px !important;
  top: -6px !important;
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #ef4444 !important;
  color: #fff !important;
  font: 700 11px/18px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.25) !important;
}

/* (optionnel) on supprime tout overflow qui pourrait couper le badge */
#exx-bell { overflow: visible !important; }


/* Badge générique (compteurs) */
.exx-badge{
  display:inline-block;
  min-width:16px;
  height:16px;
  line-height:16px;
  padding:0 5px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-weight:700;
  font-size:10px;
  text-align:center;
  vertical-align:middle;
}
.exx-badge.ml6{ margin-left:6px; }

/* Tablette de la liste Hotline */
.exx-hl-table{ width:100%; border-collapse:separate; border-spacing:0; background:#fff; border-radius:12px; overflow:hidden; }
.exx-hl-table th, .exx-hl-table td{ padding:12px 14px; border-bottom:1px solid #edf2f7; }
.exx-hl-table thead th{ background:#f8fafc; font-weight:700; }
.exx-hl-table tr:last-child td{ border-bottom:0; }
.exx-hl-row a{ font-weight:600; text-decoration:none; color:#111827; }
.exx-hl-row a:hover{ text-decoration:underline; }

/* Barre de recherche */
.exx-hl-search{
  width:420px; max-width:100%;
  padding:10px 12px; border:1px solid #e5e7eb; border-radius:10px;
  background:#fff;
}











