/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
@import "navbar";

/* Sidebar Styles */
.sidebar {
  padding-top: 80px;
  /* Pour éviter que la navbar ne masque le contenu */
  background-color: #051825 !important;
  height: auto;
  min-height: calc(100vh - 80px);
  overflow-y: auto;
  max-width: 250px !important;
  transition: width 0.3s ease;
}

.sidebar.collapsed {
  width: 80px !important;
}

@media (min-width: 768px) {
  #sidebar.sidebar {
    flex: 0 0 250px;
    width: 250px !important;
    max-width: 250px !important;
  }

  #sidebar.sidebar.collapsed {
    flex: 0 0 80px;
    width: 80px !important;
    max-width: 80px !important;
  }

  #sidebar + .main-content,
  #sidebar + main {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
  }
}

.sidebar.collapsed .nav-pills > li > .nav-link span {
  display: none;
}

.sidebar.collapsed img.logo-full {
  display: none;
  width: 50px;
  margin: auto;
}

.sidebar img.logo-icon {
  display: none;
}

.sidebar.collapsed img.logo-icon {
  display: block;
  width: 50px;
  margin: auto;
}

/* Navbar Active Link */
.nav-link.active {
  background-color: #042650 !important;
  color: white !important;
  border-radius: 5px;
}

.nav-link.active:hover {
  background-color: #06408a !important;
  /* Légère variation pour le hover */
  color: white !important;
}

#payment-schedule-tabs {
  gap: 0.35rem;
}

#payment-schedule-tabs .btn {
  border-radius: 6px;
  border-width: 1px;
  border-color: #dee2e6;
  color: #042650 !important;
}

#payment-schedule-tabs .btn-light {
  background-color: white !important;
}

#payment-schedule-tabs .btn-outline-light {
  background-color: white !important;
  border-color: #dee2e6 !important;
  color: #042650 !important;
}

#payment-schedule-tabs .btn:hover,
#payment-schedule-tabs .btn:focus {
  background-color: #f8f9fa !important;
  border-color: #b6c2cf !important;
  color: #06408a !important;
}

#payment-schedule-tabs .btn.active {
  background-color: white !important;
  border-color: #042650 !important;
  color: #042650 !important;
  font-weight: 600;
}

#payment-schedule-tabs .btn .badge {
  background-color: #6c757d !important;
  color: white;
}

#payment-schedule-tabs .btn.active .badge {
  background-color: #042650 !important;
  color: white;
}

/* Buttons */
.btn-dark-blue {
  background-color: #042650 !important;
  border-color: #042650 !important;
  color: white !important;
}

.btn-dark-blue:hover {
  background-color: #06408a !important;
  border-color: #06408a !important;
  color: white !important;
}

/* Table Adjustments */
.row-col {
  flex: 1;
  text-align: left;
}

.row-data:first-child {
  margin-top: 10px;
}

/* Footer */
.footer {
  background-color: #051825;
  color: white;
  text-align: center;
  padding: 15px 0;
  width: 100%;
  /*position: fixed;
  bottom: 0;*/
}

/* Dans application.css ou un fichier SCSS */
th[data-sort-type] {
  cursor: pointer;
  position: relative; /* Pour positionner l'icône si besoin */
}

th[data-sort-type]:hover {
  background-color: #f8f9fa; /* Léger fond au survol */
}

/* Styles pour les icônes de tri (optionnel) */
.sort-icon {
  font-size: 0.8em;
  color: #6c757d; /* Couleur discrète */
}

th.sort-asc .sort-icon,
th.sort-desc .sort-icon {
 color: #000; /* Couleur plus visible pour l'icône active */
}

.tooltip.tooltip-large .tooltip-inner {
  max-width: 300px;
  white-space: normal;
}

/* Amélioration du menu déroulant Settings */
.collapse-icon {
  transition: transform 0.3s ease;
  font-size: 0.8em;
  color: #ccc;
}

.nav-link[aria-expanded="true"] .collapse-icon {
  transform: rotate(180deg);
}

/* Style pour les sous-menus */
.nav .collapse .nav-link {
  font-size: 0.9em;
  padding: 0.5rem 0.75rem;
  margin-left: 0.5rem;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav .collapse .nav-link:hover {
  border-left-color: #042650;
  background-color: rgba(4, 38, 80, 0.1);
}

.client-assistant-navigation-group {
  margin: 0.35rem 0 0.5rem 0.5rem;
}

.nav .collapse .client-assistant-navigation-link {
  margin-left: 0;
  border-left: 2px solid transparent;
}

.client-assistant-navigation-group.selected > .client-assistant-navigation-link {
  background: rgba(102, 174, 255, 0.12);
  border-left-color: var(--bs-primary);
}

.client-agent-navigation-list {
  margin: 0.15rem 0 0 1rem;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.nav .collapse .client-agent-navigation-link {
  margin-left: 0;
  padding-left: 0.75rem;
  font-size: 0.82rem;
  opacity: 0.9;
}

.nav .collapse .client-agent-navigation-link.active {
  opacity: 1;
  border-left-color: var(--bs-primary);
}

.client-agent-selector .btn {
  text-align: left;
}

@media (max-width: 575.98px) {
  .client-agent-selector .btn,
  .client-agent-selection-confirmation .btn {
    width: 100%;
  }
}

/* Animation smooth pour le collapse */
.collapse {
  transition: all 0.3s ease;
}

/* Survol du menu principal */
.nav-link[data-bs-toggle="collapse"]:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

/* Indicateur visuel pour les menus déroulants en mode collapsed */
.sidebar.collapsed .collapse-icon {
  display: none;
}

.sidebar.collapsed .nav-pills > li > .nav-link .me-2 {
  margin-right: 0 !important;
}

.sidebar.collapsed .nav-pills > li > .nav-link.active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: calc(100% - 0.75rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

.sidebar.collapsed {
  overflow: visible;
}

.sidebar.collapsed .nav-pills > li {
  position: relative;
}

.sidebar.collapsed .nav-pills > li > .collapse,
.sidebar.collapsed .nav-pills > li > .collapsing {
  position: absolute;
  top: 0;
  left: calc(100% + 0.35rem);
  min-width: 220px;
  margin-left: 0 !important;
  padding: 0.4rem;
  background-color: #051825;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 1080;
}

.sidebar.collapsed .nav-pills > li > .collapse:not(.show),
.sidebar.collapsed .nav-pills > li > .collapsing {
  display: none;
}

.sidebar.collapsed .nav-pills > li > .collapse.show {
  display: block;
}

.sidebar.collapsed .nav-pills > li > .collapse .nav-link span {
  display: inline;
}

.sidebar.collapsed .nav-pills > li > .collapse .nav-link .me-2 {
  margin-right: 0.5rem !important;
}

.sidebar.collapsed .nav-pills > li > .collapse .nav-link {
  margin-left: 0;
}

/* Custom badge colors for specific statuses */
.badge-paid {
  background-color: #28a745 !important;
  color: white;
}

.badge-cancelled {
  background-color: #6c757d !important;
  color: white;
}

.badge-overdue {
  background-color: #dc3545 !important;
  color: white;
}

.badge-recovery {
  background-color: #fd7e14 !important;
  color: white;
}

.badge-pending {
  background-color: #17a2b8 !important;
  color: white;
}

.badge-failed {
  background-color: #dc3545 !important;
  color: white;
}

.badge-expired {
  background-color: #343a40 !important;
  color: white;
}

.badge-paused {
  background-color: #6f42c1 !important;
  color: white;
}

/* Shared client UI blocks */
.client-page-header {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 88% 10%, rgba(96, 165, 250, 0.2), transparent 35%),
    linear-gradient(135deg, #0e1720, #162c40);
  box-shadow: 0 14px 34px rgba(14, 23, 32, 0.16);
}

.client-section-card {
  border-radius: 0.9rem;
}

.client-kpi-strip .badge {
  font-weight: 500;
  padding: 0.45rem 0.7rem;
}

.action-center-item {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  background: #f8f9fb;
  padding: 0.7rem 0.9rem;
}

.client-list-card .card-body {
  padding-top: 1rem;
}

.mobile-node-card {
  background-color: #fff;
  border-color: #e9ecef !important;
}

.in-app-notifications-menu {
  min-width: 22rem;
  max-width: 24rem;
  max-height: 70vh;
  overflow-y: auto;
}

.client-empty-state {
  background-color: #f8f9fb;
  border-color: #e9ecef !important;
}

@media (max-width: 991.98px) {
  .client-section-card .card-header,
  .client-section-card .card-body {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .client-kpi-strip .badge {
    padding: 0.38rem 0.58rem;
    font-size: 0.74rem;
  }

  .action-center-item {
    padding: 0.65rem 0.75rem;
  }

  .action-center-item .btn {
    flex: 1 1 auto;
    min-width: 9rem;
  }

  .client-list-card .table td,
  .client-list-card .table th {
    white-space: nowrap;
    font-size: 0.84rem;
  }

  .mobile-node-card {
    padding: 0.75rem !important;
  }

  .client-empty-state {
    padding: 1rem !important;
    text-align: left;
  }

  .client-empty-state .d-flex {
    justify-content: flex-start !important;
  }

  .in-app-notifications-menu {
    min-width: min(22rem, calc(100vw - 2rem));
    max-width: calc(100vw - 1rem);
    max-height: 65vh;
  }

  .in-app-notifications-menu .list-group-item .btn {
    width: 100%;
  }

  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 767.98px) {
  #sidebar {
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto;
    overflow-y: visible;
    padding-top: 64px;
    padding-bottom: 0.8rem;
  }

  #sidebar + .main-content,
  #sidebar.collapsed + .main-content,
  #sidebar + main,
  #sidebar.collapsed + main {
    flex: 1 0 100%;
    width: 100% !important;
  }

  #sidebar.collapsed {
    width: 100% !important;
    padding-bottom: 0.35rem;
  }

  #sidebar #toggleSidebar {
    display: block;
    width: calc(100% - 1rem) !important;
    margin: 0.45rem auto !important;
    border-radius: 999px;
  }

  #sidebar.collapsed > hr,
  #sidebar.collapsed > ul {
    display: none;
  }

  #sidebar:not(.collapsed) {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding-bottom: 0.65rem;
  }

  .main-content {
    padding-top: 0.85rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}
/* GLOV AI Control Plane: scoped tokens preserve the legacy billing UI. */
.glov-control-plane {
  --glov-ink: #0e1720;
  --glov-primary: #60a5fa;
  --glov-muted: #3c5061;
  --glov-soft: #9bb8d3;
}

.glov-control-plane-header h1 {
  color: var(--glov-text);
}

.glov-control-plane-header .text-muted {
  color: var(--glov-title) !important;
}

.glov-control-plane .btn-primary {
  background-color: var(--glov-primary);
  border-color: var(--glov-primary);
  color: var(--glov-ink);
}

.glov-control-plane .table-light th {
  color: var(--glov-ink);
  border-bottom-color: var(--glov-soft);
}

/* GLOV AI visual system — aligned with glov-solutions.com. */
:root {
  --glov-ink: #0e1720;
  --glov-ink-soft: #16222f;
  --glov-slate: #3c5061;
  --glov-title: #9bb8d3;
  --glov-blue: #60a5fa;
  --glov-blue-strong: #3b82f6;
  --glov-text: #f3f7fb;
  --glov-muted: #d2dde8;
  --glov-line: rgba(155, 184, 211, 0.22);
  --glov-surface: #f5f8fc;
  --glov-panel: #f3f7fb;
  --glov-panel-muted: #eaf1f7;
}

.glov-app {
  color: var(--glov-ink);
  background: var(--glov-ink) !important;
  font-family: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.glov-app h1,
.glov-app h2,
.glov-app h3,
.glov-app h4,
.glov-wordmark {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  letter-spacing: -0.025em;
}

.glov-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.glov-wordmark:hover,
.glov-wordmark:focus {
  color: #fff;
}

.glov-wordmark strong {
  color: var(--glov-blue);
}

.glov-wordmark-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.glov-btn-primary,
.glov-app .btn-primary,
.glov-app .btn-dark-blue {
  color: #07111d !important;
  background: linear-gradient(135deg, #79b8ff, var(--glov-blue)) !important;
  border: 1px solid #86bfff !important;
  border-radius: 0.7rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.22);
}

.glov-btn-primary:hover,
.glov-app .btn-primary:hover,
.glov-app .btn-dark-blue:hover {
  color: #07111d !important;
  background: #8ac2ff !important;
  border-color: #a4d0ff !important;
  transform: translateY(-1px);
}

.glov-btn-ghost {
  color: var(--glov-text) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0.7rem;
  font-weight: 650;
}

.glov-btn-ghost:hover {
  color: #fff !important;
  border-color: var(--glov-blue) !important;
  background: rgba(96, 165, 250, 0.1) !important;
}

.glov-public a:focus-visible,
.glov-public .btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.48) !important;
}

.glov-btn-lg {
  padding: 0.82rem 1.25rem !important;
}

/* Public GLOV AI entry point */
.glov-public {
  color: var(--glov-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(96, 165, 250, 0.2), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(155, 184, 211, 0.13), transparent 32%),
    var(--glov-ink) !important;
}

.glov-landing {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(155, 184, 211, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 184, 211, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.glov-landing::before {
  position: absolute;
  z-index: 0;
  top: 9rem;
  right: -10rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(96, 165, 250, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(96, 165, 250, 0.025), 0 0 0 10rem rgba(96, 165, 250, 0.02);
  content: "";
  pointer-events: none;
}

.glov-landing-nav,
.glov-hero,
.glov-platform,
.glov-use-cases,
.glov-managed,
.glov-subscription {
  position: relative;
  z-index: 1;
}

.glov-landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--glov-line);
}

.glov-landing-nav .glov-wordmark-logo {
  width: 58px;
  height: 58px;
}

.glov-landing-nav .glov-wordmark {
  gap: 0.85rem;
  font-size: 1.4rem;
}

.glov-hero {
  padding-top: clamp(4.5rem, 10vw, 8rem);
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
}

.glov-hero-content {
  max-width: 880px;
}

.glov-landing-actions,
.glov-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.glov-landing-language .btn {
  min-width: 2.35rem;
  color: var(--glov-text);
  border-color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  font-weight: 800;
}

.glov-landing-language .btn-primary {
  color: #07111d;
}

.glov-hero-actions {
  margin-top: 1.5rem;
}

.glov-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--glov-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.glov-hero h1 {
  max-width: 850px;
  margin: 1.2rem 0 1.25rem;
  color: #fff;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.glov-hero h1 span {
  color: var(--glov-title);
}

.glov-hero-copy {
  max-width: 720px;
  margin: 0;
  color: var(--glov-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.7;
}

.glov-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 2.2rem;
  color: var(--glov-title);
  font-size: 0.88rem;
}

.glov-trust-row i {
  margin-right: 0.35rem;
  color: var(--glov-blue);
}

.glov-console-card {
  padding: 1rem;
  border: 1px solid rgba(155, 184, 211, 0.24);
  border-radius: 1.15rem;
  background: linear-gradient(155deg, rgba(22, 34, 47, 0.94), rgba(9, 17, 26, 0.96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.glov-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0.25rem 1rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.glov-live-dot {
  color: #79d9ac;
  font-size: 0.72rem;
}

.glov-live-dot::before {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #43d28f;
  box-shadow: 0 0 0 4px rgba(67, 210, 143, 0.12);
  content: "";
}

.glov-console-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.glov-console-kpis div {
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  border: 1px solid rgba(155, 184, 211, 0.13);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.035);
}

.glov-console-kpis strong {
  color: #fff;
  font-size: 1.28rem;
}

.glov-console-kpis span {
  color: var(--glov-title);
  font-size: 0.68rem;
}

.glov-assistant-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.55rem;
  padding: 0.85rem;
  border: 1px solid rgba(155, 184, 211, 0.13);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.045);
}

.glov-assistant-row strong,
.glov-assistant-row small {
  display: block;
}

.glov-assistant-row strong { color: #fff; font-size: 0.86rem; }
.glov-assistant-row small { color: var(--glov-title); font-size: 0.7rem; }
.glov-assistant-row-muted { opacity: 0.72; }

.glov-assistant-icon,
.glov-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 0.7rem;
  color: var(--glov-blue);
  background: rgba(96, 165, 250, 0.1);
}

.glov-status {
  padding: 0.28rem 0.48rem;
  border-radius: 999px;
  color: var(--glov-title);
  background: rgba(155, 184, 211, 0.1);
  font-size: 0.64rem;
  font-weight: 700;
}

.glov-status-online {
  color: #8ce5ba;
  background: rgba(67, 210, 143, 0.1);
}

.glov-platform {
  padding-top: 4rem;
  padding-bottom: 6rem;
  border-top: 1px solid var(--glov-line);
}

.glov-use-cases,
.glov-managed {
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--glov-line);
}

.glov-section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.glov-section-heading h2 {
  margin: 0.7rem 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.glov-section-heading p,
.glov-feature-card p {
  color: var(--glov-muted);
}

.glov-feature-card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--glov-line);
  border-radius: 1rem;
  background: linear-gradient(150deg, rgba(22, 34, 47, 0.78), rgba(12, 20, 29, 0.78));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.glov-card-grid {
  display: grid;
  gap: 1rem;
}

.glov-card-grid-use-cases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glov-card-grid-managed {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.glov-feature-card-compact {
  box-shadow: none;
}

.glov-service-explainer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 1.2rem;
  background: rgba(16, 28, 40, 0.76);
}

.glov-service-explainer h2 {
  margin: 0.7rem 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.glov-service-explainer p {
  color: var(--glov-muted);
}

.glov-check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  padding: 0;
  color: var(--glov-text);
  list-style: none;
}

.glov-check-list i {
  margin-right: 0.55rem;
  color: var(--glov-blue);
}

.glov-service-flow {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  color: var(--glov-blue);
}

.glov-service-flow div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--glov-line);
  border-radius: 0.8rem;
  color: var(--glov-text);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
  text-align: center;
}

.glov-service-flow .glov-service-flow-primary {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(96, 165, 250, 0.12);
}

.glov-service-flow div i {
  color: var(--glov-blue);
}

.glov-feature-card h3 {
  margin: 1.2rem 0 0.65rem;
  color: #fff;
  font-size: 1.2rem;
}

.glov-subscription {
  padding-top: 5rem;
  padding-bottom: 6rem;
  border-top: 1px solid var(--glov-line);
}

.glov-subscription-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glov-subscription-step {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--glov-line);
  border-radius: 1rem;
  background: rgba(16, 28, 40, 0.72);
}

.glov-step-number {
  display: inline-grid;
  flex: 0 0 2.25rem;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--glov-ink);
  background: var(--glov-blue);
  font-weight: 800;
}

.glov-subscription-step h3 {
  margin: 0.25rem 0 0.55rem;
  color: #fff;
  font-size: 1.08rem;
}

.glov-subscription-step p,
.glov-subscription-cta p {
  margin: 0;
  color: var(--glov-muted);
}

.glov-subscription-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(16, 28, 40, 0.86));
}

.glov-subscription-cta h2 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

/* Authenticated application shell */
.glov-shell {
  background: var(--glov-surface) !important;
}

.head-navbar {
  height: 72px;
  border-bottom: 1px solid rgba(155, 184, 211, 0.2);
  background: linear-gradient(90deg, #0a141f, #142435) !important;
  box-shadow: 0 8px 28px rgba(3, 10, 18, 0.22);
}

.head-navbar .head-brand-mark {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 0;
  object-fit: contain;
}

.head-navbar .head-brand-text {
  display: inline;
  color: #fff;
  font-size: 1.18rem;
}

.head-product-label {
  margin-left: 0.15rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--glov-title);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.glov-language-switcher .btn {
  min-width: 2.45rem;
  border-color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.glov-language-switcher .btn-outline-light:hover {
  color: var(--glov-ink);
}

.glov-user-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
}

.glov-user-avatar {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 50%;
  color: #07111d;
  background: var(--glov-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.glov-admin-badge {
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  color: var(--glov-blue);
  background: rgba(96, 165, 250, 0.12);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.glov-dropdown {
  border: 1px solid #dbe5ef;
  border-radius: 0.8rem;
  box-shadow: 0 18px 38px rgba(14, 23, 32, 0.16);
}

.glov-authenticated .sidebar {
  padding-top: 82px;
  border-right: 1px solid rgba(155, 184, 211, 0.14);
  background: #111f2d !important;
}

.glov-authenticated .sidebar .nav-link {
  margin: 0.1rem 0.45rem;
  border-radius: 0.6rem;
  color: #cfdae6 !important;
}

.glov-authenticated .sidebar .nav-link:hover {
  color: #fff !important;
  background: rgba(96, 165, 250, 0.09);
}

.glov-authenticated .sidebar .nav-link.active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.34), rgba(96, 165, 250, 0.12)) !important;
  box-shadow: inset 3px 0 0 var(--glov-blue);
}

.glov-sidebar-label {
  padding: 0.55rem 0.9rem 0.35rem;
  color: #718ca4;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glov-authenticated .main-content {
  padding-top: 96px;
  padding-right: clamp(1rem, 3vw, 2.4rem);
  padding-left: clamp(1rem, 3vw, 2.4rem);
  color: var(--glov-ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(96, 165, 250, 0.16), transparent 32rem),
    linear-gradient(145deg, #0e1720 0%, #132333 58%, #172b3d 100%);
}

.glov-authenticated .card {
  border: 1px solid #dfe8f1;
  border-radius: 0.95rem;
  background: var(--glov-panel);
  box-shadow: 0 10px 30px rgba(20, 38, 55, 0.07);
}

.glov-authenticated .card-header,
.glov-authenticated .card-header.bg-white {
  border-bottom-color: #e5edf5;
  background: var(--glov-panel-muted) !important;
}

.glov-authenticated .card-footer {
  border-top-color: #dfe8f1;
  background: var(--glov-panel-muted);
}

.glov-authenticated .client-empty-state,
.glov-authenticated .action-center-item {
  background: var(--glov-panel-muted);
}

.glov-authenticated .table > :not(caption) > * > * {
  padding: 0.78rem 0.72rem;
  border-bottom-color: #e7edf3;
}

.glov-authenticated .card .table {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: rgba(96, 165, 250, 0.08);
  --bs-table-hover-color: var(--glov-ink);
}

.glov-authenticated .table thead th {
  color: #53697c;
  background: #f6f9fc;
  font-size: 0.72rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.glov-control-plane {
  --glov-ink: #0e1720;
  --glov-primary: #3b82f6;
  --glov-muted: #3c5061;
  --glov-soft: #9bb8d3;
}

.glov-footer {
  padding: 2.5rem 0 1.25rem;
  border-top: 1px solid rgba(155, 184, 211, 0.18);
  color: var(--glov-title);
  background: #09131d;
  font-size: 0.84rem;
}

.glov-footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.glov-footer-brand p,
.glov-footer-bottom p { margin: 0; }

.glov-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.glov-footer h2 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.glov-footer ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glov-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  color: var(--glov-title);
  text-decoration: none;
}

.glov-footer a:hover { color: #fff; text-decoration: underline; }
.glov-footer a:focus-visible { outline: 2px solid var(--glov-blue); outline-offset: 3px; border-radius: 0.15rem; }

.glov-footer-socials a { gap: 0.55rem; }
.glov-footer-socials i { width: 1rem; color: var(--glov-blue); font-size: 1rem; text-align: center; }

.glov-footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(155, 184, 211, 0.14);
  text-align: center;
}

.glov-wordmark-small { font-size: 0.9rem; }
.glov-wordmark-small .glov-wordmark-logo { width: 26px; height: 26px; }

@media (max-width: 1023.98px) {
  .glov-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .glov-footer { padding-top: 2rem; }
  .glov-footer-brand { align-items: flex-start; flex-direction: column; gap: 0.75rem; margin-bottom: 1.6rem; }
  .glov-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .glov-footer a { min-height: 2rem; }
}

.glov-auth-page {
  min-height: 100vh;
  padding-right: 1rem;
  padding-left: 1rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(96, 165, 250, 0.2), transparent 34%),
    linear-gradient(145deg, #0e1720, #132333);
}

.glov-auth-card {
  max-width: 430px !important;
  padding: 0.55rem;
  border: 1px solid rgba(155, 184, 211, 0.24) !important;
  border-radius: 1.1rem !important;
  background: rgba(248, 251, 255, 0.98) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38) !important;
}

.glov-auth-card .card-body { padding: 1.6rem; }

.glov-auth-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.glov-auth-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  color: var(--glov-ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.glov-auth-card-header .glov-auth-brand { margin-bottom: 0; }

.glov-auth-language .btn {
  min-width: 2.15rem;
  padding-right: 0.45rem;
  padding-left: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
}

.glov-auth-brand img { width: 42px; height: 42px; }
.glov-auth-brand strong { color: var(--glov-blue-strong); }
.glov-auth-card .input:not(.boolean) { margin-bottom: 0.85rem; }
.glov-auth-card label.checkbox { display: inline-flex; align-items: center; gap: 0.45rem; }
.glov-auth-card .form-control { border-color: #d9e3ed; border-radius: 0.65rem; }
.glov-auth-card .form-control:focus { border-color: var(--glov-blue); box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.16); }

@media (max-width: 767.98px) {
  .glov-landing-nav { min-height: 64px; padding: 0.45rem 1rem; }
  .glov-landing-nav .glov-wordmark-logo { width: 50px; height: 50px; }
  .glov-landing-nav .glov-wordmark span { display: none; }
  .glov-landing-nav .btn { padding: 0.5rem 0.7rem; font-size: 0.78rem; }
  .glov-landing-actions { flex-wrap: nowrap; gap: 0.45rem; }
  .glov-landing-language .btn { min-width: 2rem; padding: 0.45rem 0.4rem; font-size: 0.68rem; }
  .glov-hero { padding-top: 3.5rem; padding-bottom: 4rem; }
  .glov-hero h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .glov-hero-actions { align-items: stretch; flex-direction: column; }
  .glov-hero-actions .btn { width: 100%; }
  .glov-trust-row { flex-direction: column; gap: 0.6rem; }
  .glov-console-kpis { grid-template-columns: 1fr; }
  .glov-platform,
  .glov-use-cases,
  .glov-managed,
  .glov-subscription { padding-top: 3.5rem; padding-bottom: 4rem; }
  .glov-card-grid-use-cases,
  .glov-card-grid-managed,
  .glov-service-explainer { grid-template-columns: 1fr; }
  .glov-subscription-steps { grid-template-columns: 1fr; }
  .glov-subscription-cta { align-items: stretch; flex-direction: column; }
  .glov-subscription-cta .btn { width: 100%; }
  .head-product-label { display: none; }
  .glov-language-switcher .btn { min-width: 2.1rem; padding-right: 0.45rem; padding-left: 0.45rem; }
  .glov-authenticated .sidebar { padding-top: 72px; }
}

@media (max-width: 420px) {
  .glov-landing-nav { gap: 0.45rem; }
  .glov-landing-actions { gap: 0.3rem; }
  .glov-landing-nav .btn { padding: 0.43rem 0.5rem; font-size: 0.72rem; }
  .glov-landing-language .btn { min-width: 1.75rem; padding-right: 0.3rem; padding-left: 0.3rem; font-size: 0.62rem; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .glov-card-grid-use-cases,
  .glov-card-grid-managed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glov-service-explainer { grid-template-columns: 1fr; }
  .glov-subscription-steps { grid-template-columns: 1fr; }
}

/* Product-centered customer experience */
.client-product-page {
  max-width: 1440px;
  margin-inline: auto;
}

.client-product-page .client-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.client-product-page .client-page-header-compact {
  padding: clamp(0.9rem, 2vw, 1.25rem);
}

.client-page-header-compact h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.client-eyebrow {
  color: var(--glov-blue, #60a5fa);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.client-hero-card {
  overflow: hidden;
  position: relative;
}

.client-hero-card-compact .client-assistant-identity {
  width: clamp(4rem, 6vw, 5rem);
  height: clamp(4rem, 6vw, 5rem);
}

.client-hero-card::after {
  position: absolute;
  inset: 0 0 auto auto;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(96 165 250 / 18%), transparent 70%);
  content: "";
  pointer-events: none;
  transform: translate(35%, -45%);
}

.client-assistant-identity,
.client-assistant-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgb(96 165 250 / 24%);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgb(96 165 250 / 14%), rgb(14 23 32 / 5%));
  color: var(--glov-blue, #60a5fa);
  font-size: 1.35rem;
}

.client-assistant-identity {
  width: clamp(4.5rem, 8vw, 6.5rem);
  height: clamp(4.5rem, 8vw, 6.5rem);
  border-radius: 1.5rem;
  font-size: 2.25rem;
}

.client-assistant-image {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.client-state-badge {
  border: 1px solid transparent;
  padding: 0.45rem 0.7rem;
}

.client-state-available {
  border-color: rgb(25 135 84 / 20%);
  background: rgb(25 135 84 / 12%);
  color: #146c43;
}

.client-state-preparing {
  border-color: rgb(13 110 253 / 20%);
  background: rgb(13 110 253 / 12%);
  color: #0a58ca;
}

.client-state-action_required {
  border-color: rgb(255 193 7 / 32%);
  background: rgb(255 193 7 / 18%);
  color: #7a5b00;
}

.client-state-unavailable {
  border-color: rgb(220 53 69 / 22%);
  background: rgb(220 53 69 / 12%);
  color: #b02a37;
}

.client-state-reason {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--glov-blue, #60a5fa);
  border-radius: 0.35rem;
  background: rgb(96 165 250 / 8%);
}

.client-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgb(15 23 42 / 10%);
  border-radius: 0.75rem;
}

.client-copy-narrow {
  max-width: 42rem;
}

.client-primary-action form {
  margin: 0;
}

.client-assistant-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.client-assistant-card:hover {
  transform: translateY(-2px);
}

.client-assistant-grid-item {
  transition: width 160ms ease;
}

.client-view-toggle .btn {
  min-width: 5.5rem;
}

@media (min-width: 768px) {
  .assistant-view-list .client-assistant-grid-item {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .assistant-view-list .client-assistant-card-body {
    display: grid !important;
    grid-template:
      "leading main actions" auto
      "leading meta actions" auto /
      7rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.35rem 1.25rem;
    padding: 1rem 1.25rem !important;
  }

  .assistant-view-list .client-assistant-card-leading {
    grid-area: leading;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.65rem !important;
    margin: 0 !important;
  }

  .assistant-view-list .client-assistant-card-main {
    grid-area: main;
    min-width: 0;
  }

  .assistant-view-list .client-assistant-card-main h2 {
    overflow: hidden;
    font-size: 1.1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .assistant-view-list .client-assistant-card-main p,
  .assistant-view-list .client-assistant-card-meta p {
    margin-bottom: 0 !important;
  }

  .assistant-view-list .client-assistant-card-meta {
    grid-area: meta;
    min-width: 0;
  }

  .assistant-view-list .client-assistant-card-actions {
    grid-area: actions;
    justify-content: flex-end;
    margin-top: 0 !important;
  }
}

@media (min-width: 1200px) {
  .assistant-view-list .client-assistant-card-body {
    grid-template:
      "leading main meta actions" auto /
      7rem minmax(14rem, 1fr) minmax(16rem, 1.2fr) auto;
    gap: 1.25rem;
  }
}

.client-back-link {
  color: rgb(255 255 255 / 72%);
  text-decoration: none;
}

.client-back-link:hover {
  color: #fff;
}

.client-data-list dt,
.client-data-list dd {
  padding-block: 0.55rem;
  border-bottom: 1px solid rgb(15 23 42 / 8%);
}

.client-billing-summary {
  display: grid;
  min-width: min(100%, 24rem);
  gap: 0.75rem;
}

.client-billing-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.client-billing-summary dt {
  color: #6c757d;
  font-weight: 400;
}

.client-billing-summary dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.client-service-management summary {
  cursor: pointer;
  list-style: none;
}

.client-service-management summary::-webkit-details-marker {
  display: none;
}

.assistant-collapsible > summary {
  cursor: pointer;
  list-style: none;
}

.assistant-collapsible > summary::-webkit-details-marker {
  display: none;
}

.assistant-collapsible-summary {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.assistant-collapsible-chevron {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.assistant-collapsible[open] > .assistant-collapsible-summary .assistant-collapsible-chevron {
  transform: rotate(180deg);
}

@media (max-width: 767.98px) {
  .client-product-page .client-page-header,
  .client-action-row,
  .client-billing-summary > div {
    align-items: stretch;
    flex-direction: column;
  }

  .client-primary-action,
  .client-primary-action form,
  .client-primary-action .btn,
  .client-action-row .btn,
  .client-action-row form {
    width: 100%;
  }

  .client-billing-summary dd {
    text-align: left;
  }

  .assistant-view-list .client-assistant-card-body {
    padding: 1rem !important;
  }
}
.head-navbar {
    background-color: #051825;
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.head-navbar-brand {
    display: inline-flex;
    align-items: center;
}

.head-brand-text {
    max-height: 50px;
    width: auto;
}

.head-brand-mark {
    display: none;
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%;
}

.head-nav-link {
    color: white !important;
}

.head-nav-link:hover {
    text-decoration: underline;
}

.head-help-link {
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .head-navbar {
        height: 64px;
        padding: 0 12px;
        border-bottom-width: 0.25em !important;
    }

    .head-navbar .container-fluid {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .head-brand-text {
        display: none;
    }

    .head-brand-mark {
        display: inline-block;
    }

    .head-navbar .head-help-nav {
        display: flex;
        margin-right: 0.35rem !important;
    }

    .head-help-link {
        padding: 0.2rem 0.45rem;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 999px;
        text-decoration: none !important;
        font-size: 0.84rem;
        line-height: 1;
    }

    .head-help-link i {
        font-size: 0.88rem;
    }

    .head-help-link .head-help-label {
        display: none;
    }

    .head-navbar .dropdown > a {
        font-size: 0.92rem;
    }
}
html,
body {
  height: 100%;
}

.form-signin {
  max-width: 330px;
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 /* Styles pour la section principale */

 html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

 main {
  padding-top: 25px; /* Pour compenser la navbar fixe */
  flex-grow: 1;
}

 .main-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 80px; /* Pour éviter que la navbar ne masque le contenu */
  padding-left: 20px;
  padding-right: 20px;
  transition: all 0.3s ease-in-out;
}

.flex-grow-1 {
  flex-grow: 1;
}

.site-footer-wrapper {
  width: 100%;
}

.site-footer {
  width: 100%;
}

 body {
    background-color: #313a46 !important;
 }
 
 .navbar-custom {
   position: fixed;
   top:0;
   right:0;
 }

 .table-container {
  max-width: 100%;
  margin: auto;
}

.row-header, .row-data {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
}

.row-data {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px; /* Espacement entre les lignes */
  border: 1px solid rgba(0, 0, 0, 0.175);
}

.badge-paid         { background-color: #198754; color: white; }  /* Vert */
.badge-cancelled    { background-color: #6c757d; color: white; }  /* Gris */
.badge-overdue      { background-color: #dc3545; color: white; }  /* Rouge */
.badge-recovery     { background-color: #8b0000; color: white; }  /* Rouge foncé */
.badge-pending      { background-color: #ffc107; color: black; }  /* Jaune */
.badge-failed       { background-color: #ff4d4d; color: white; }  /* Rouge clair */
.badge-expired      { background-color: #212529; color: white; }  /* Noir */
.badge-paused       { background-color: #0d6efd; color: white; }  /* Bleu */

.recaptcha-wrap {
  transform: scale(0.90);          /* ajuste: 0.85, 0.8, etc */
  transform-origin: left top;      /* important sinon ça déborde */
  width: 100%;
}

/* Réserve la hauteur “réelle” pour éviter le chevauchement après scale */
.recaptcha-wrap {
  height: calc(78px * 0.90);       /* v2 checkbox = ~78px de haut */
}
