html,
body {
  height: 100%;
  margin: 0;
  background-color: #0b1120;
  font-family: sans-serif;
}

.side-image {
  background-image: url("images/attenteinscr.jpg");
  background-size: cover;
  background-position: center;
  height: 129%;
}

.text-light-gray {
  color: #94a3b8;
}

.custom-tabs {
  display: flex;
  border-bottom: 1px solid #334155;
  margin-bottom: 2rem;
}

.tab-item {
  padding: 10px 20px;
  text-decoration: none;
  color: #94a3b8;
}

.tab-item.active {
  color: white;
  border-bottom: 2px solid #2563eb;
}

.case {
  background-color: rgba(30, 41, 59, 0.5) !important;
  border: 1px solid #334155 !important;
  color: white !important;
  border-radius: 8px;
}

.btn-signup {
  background-color: #2563eb;
  border: none;
  border-radius: 25px;
  padding: 12px;
  color: white;
}

/*  */

.engagement-box {
  background-color: #161e2d;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 30px 20px;
  height: 100%;
}

.icon-circle {
  font-size: 24px;
}

.text-primary {
  color: #1a73e8 !important;
}

.btn-primary {
  background-color: #1a73e8;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
}

.custom-card {
  background-color: #161e2d !important;
  border: none !important;
  border-radius: 25px !important;
  overflow: hidden;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.category-tag {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.sustainability,
.efficiency,
.regulatory {
  color: #3b82f6;
}

.view_all_link {
  text-decoration: none;
  color: #186ade;
  font-weight: bold;
  font-size: 0.9rem;
}

.contact-section {
  background-color: #0b1120;
  padding: 40px;
  border: 1px solid #1e293b;
  border-radius: 20px;
  max-width: 800px;
}

.custom-label {
  display: block;
  color: white;
  font-size: 0.9em;
  margin-top: 15px;
  margin-bottom: 8px;
}

.custom-input {
  display: block;
  width: 100%;
  background-color: #1e293b !important;
  border: 1px solid #334155 !important;
  color: white !important;
  padding: 12px;
  border-radius: 8px;
}

.form-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.form-subtitle {
  color: #94a3b8;
  margin-bottom: 30px;
}

/*  */

body,
html {
  height: 100vh;
  margin: 0;
  font-family: sans-serif;
}

.bg-image {
  background-image: url("images/attenteinscr.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-navy {
  background-color: #0b1120;
}

.nav-tabs-custom {
  display: flex;
  border-bottom: 1px solid #333;
  margin-bottom: 30px;
}

.nav-tabs-custom a {
  color: gray;
  text-decoration: none;
  padding: 10px 20px;
}

.nav-tabs-custom a.active {
  color: white;
  border-bottom: 2px solid #0d6efd;
}

.case {
  background-color: transparent !important;
  border: 1px solid #333 !important;
  color: white !important;
}

.btn-custom {
  background-color: #1a73e8;
  border-radius: 20px;
  border: none;
  color: white;
}

.link-custom {
  color: #1a73e8;
  text-decoration: none;
  font-size: 0.9em;
}

/*  */

:root {
  --bs-primary: #2f80ed;
  --bs-success: #16a34a;
  --bs-dark: #0f172a;
  --bs-body-bg: #0b1120;
  --bs-body-color: #f9fafb;
}

.custom-checkbox:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.custom-checkbox:checked + label {
  color: gray;
  text-decoration: line-through;
}

body {
  background-color: #0b1120;
  color: #f9fafb;
}

.card {
  background-color: #111827;
  border: 1px solid #1e293b;
}

.sidebar {
  background-color: #0f172a;
}

.text-muted {
  color: #9ca3af !important;
}
.border-end,
.border-start {
  border-color: #1e293b !important;
}

.list-group-item {
  background-color: inherit;
}

.custom-card {
  background: #0f1b2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.custom-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #cfd6e4;
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card table {
  background-color: transparent !important;
  color: white !important;
}

.card table thead th {
  background-color: rgba(108, 117, 125, 0.1) !important;
  color: #6c757d !important;
}

.card table tbody td {
  background-color: transparent !important;
  color: white !important;
}
.card table tbody td.text-success {
  color: #198754 !important;
}
.card table tbody td.text-secondary {
  color: #6c757d !important;
}
.card table {
  table-layout: fixed;
  width: 100%;
}

/*  */

.contain {
  display: flex;
  width: 100%;
}
.main {
  background-color: #0b1120;
  line-height: 18px;
  padding: 30px 20px 20px 20px;
  height: 100vh;
}
.main h1 {
  color: #ffffff;
}
.main p {
  color: #828890;
}
.question svg {
  margin-right: 20px;
}

.logo img {
  border-radius: 10%;
  margin-right: 10px;
}

.logo_text {
  line-height: 0.9;
}

.logo_text p {
  font-size: small;
  color: #828890;
  margin: 0;
}

.mission,
.facture {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.facture {
  width: 90%;
}

.mission h4,
.facture h4 {
  color: #ffffff;
  font-weight: 700;
  margin: 0;
}

.mission p,
.facture p {
  color: #186ade;
  font-weight: 600;
  margin: 0;
}

.mission_view {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mission_header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cards {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

#exampleFormControlTextarea1 {
  background-color: rgb(255, 255, 255, 0.11);
}

.side {
  background-color: #0b1120;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.facture_view {
  margin-right: 20px;
}

.table_container,
.invoice_table {
  background-color: #1a1f2e;
  border: 1px solid #333a4a;
  border-radius: 12px;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

table,
.invoice_table {
  width: 100%;
  border-collapse: collapse;
}

th {
  color: #8b92a5;
  font-size: 14px;
  padding: 20px;
  border-bottom-width: 0.5px !important;
  border-bottom-style: solid;
  border-bottom-color: #333a4a;
}

td {
  padding: 20px;
  border-bottom-width: 0.5px !important;
  border-bottom-style: solid;
  border-bottom-color: #333a4a;
}

tr:last-child td {
  border-bottom: none;
}

.white_text {
  color: #ffffff;
  font-size: 16px;
}

.bold_text {
  font-weight: bold;
}

.gray_text {
  color: #8b92a5;
  font-size: 16px;
  font-weight: bold;
}

.status_badge {
  background-color: #163e30;
  color: #6ee7b7;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
}

.invoice_container {
  width: 90%;
}

.invoice_table td {
  padding: 10px 15px;
  border-bottom: 1px solid #333a4a;
}

.invoice_table tr:last-child td {
  border-bottom: none;
}

.col_icon {
  width: 30px;
}

.col_text {
  text-align: left;
}

.col_action {
  width: 30px;
  text-align: right;
}

.invoice_title {
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 4px;
}

.invoice_subtitle {
  color: #8b92a5;
  font-size: 11px;
  font-weight: bold;
}

.icon_red {
  color: #ff3b30;
}

.icon_gray {
  color: #8b92a5;
  cursor: pointer;
}



.border-primary-highlight {
  border: 1px solid #1a73e8 !important;
  transform: scale(1.05); 
  box-shadow: 0 10px 30px rgba(26, 115, 232, 0.1);
}

.border-hover {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s ease;
}

.border-hover:hover {
  border-color: #334155 !important;
  background-color: #1c2636 !important;
}

.text-muted-custom {
  color: #475569;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.btn-outline-primary {
  color: #1a73e8;
  border: 1px solid #1a73e8;
  background: transparent;
  padding: 10px 20px;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-outline-primary:hover {
  background: #1a73e8;
  color: white;
}






* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0d1b2a;
    --navy-mid: #152232;
    --navy-light: #1e3145;
    --blue-accent: #0d6efd;
    --text-muted-custom: #6c8097;
    --white-soft: #f0f4f8;
}

body {
    background-color: var(--navy);
    color: var(--white-soft);
    font-family: 'Segoe UI', system-ui, sans-serif;
    min-height: 100vh;
    line-height: 1.5;
}

.offre-card {
    background: var(--navy-mid);
    border: 1px solid #2a3f55; 
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.25s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.offre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
}

.offre-card.selected {
    border: 2px solid var(--blue-accent);
    background: #172840;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(13, 110, 253, .25);
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.tag.eco  { background-color: #1a3a2a; color: #4ade80; }
.tag.std  { background-color: #1a2a4a; color: #60a5fa; }
.tag.prem { background-color: #2a1a3a; color: #c084fc; }

.prix {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.prix span {
    font-size: 0.9rem;
    color: var(--text-muted-custom);
}

.features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1.5rem;
}

.features li {
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.step-bar {
    display: flex; 
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 3rem;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.75rem;
    transition: background 0.3s;
}

.step-dot.active {
    background-color: var(--blue-accent);
    color: white;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, .25);
}





.captcha-wrapper {
    background-color: #111827;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 12px;
    display: inline-block;
}

.captcha-grille {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    width: 200px;
}

.captcha-case {
    width: 98px;
    height: 98px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
}

.captcha-piece {
    width: 98px;
    height: 98px;
    cursor: grab;
    background-repeat: no-repeat;
    display: block;
}

.captcha-piece:active {
    cursor: grabbing;
}

.captcha-preview-card {
    background-color: #111827;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.captcha-grid-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 120px;
    margin: 0 auto 10px auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1e293b;
}

.captcha-piece-preview {
    width: 58px;
    height: 58px;
    background-repeat: no-repeat;
    background-size: 200% 200%;
}

.captcha-piece-preview[data-piece="0"] { background-position: 0%   0%;   }
.captcha-piece-preview[data-piece="1"] { background-position: 100% 0%;   }
.captcha-piece-preview[data-piece="2"] { background-position: 0%   100%; }
.captcha-piece-preview[data-piece="3"] { background-position: 100% 100%; }

.side-image {
    background-image: url("images/attenteinscr.jpg");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}





.step-dot-index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 0.8rem;
  }
.step-dot-index.done   { 
  background-color: #16a34a;
  color: white; 
}
.step-dot-index.active { 
  background-color: #1a73e8; 
  color: white; 
  box-shadow: 0 0 0 4px rgba(26,115,232,0.25); 
  }
.step-dot-index.todo   { 
  background-color: #1e293b; 
  color: #94a3b8; 
  border: 1px solid #334155; 
  }

.border-hover          { 
transition: none !important; 
}
.border-hover:hover    { 
  transform: none !important; 
  background-color: inherit !important; 
  }
.border-primary-highlight { 
transform: none !important; 
}




@media (max-width: 768px) {
  .border-primary-highlight {
    transform: scale(1);
    margin-top: 10px;
    margin-bottom: 10px;
  }
}


@media screen and (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }
}



:root {
  --fond-principal: #0b1120;
  --fond-carte: #151d2e;
  --fond-input: #1e293b;
  --bleu-pureclean: #3b82f6;
  --texte-gris: #94a3b8;
  --bordure: #1e293b;
}

body {
  background-color: var(--fond-principal);
  color: white;
  font-family: Arial, sans-serif;
}

/* =========================================
   COMPOSANTS COMMUNS
   ========================================= */
.bg-sombre {
  background-color: var(--fond-principal);
}
.bg-carte {
  background-color: var(--fond-carte);
}
.text-bleu {
  color: var(--bleu-pureclean);
}
.text-gris {
  color: var(--texte-gris);
}

/* Cartes arrondies (Dashboard et Accueil) */
.carte-custom {
  background-color: var(--fond-carte);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 20px;
}

/* Boutons */
.btn-primaire {
  background-color: var(--bleu-pureclean);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: bold;
}
.btn-primaire:hover {
  background-color: #2563eb;
  color: white;
}

/* Inputs de formulaire (Connexion / Inscription) */
.input-custom {
  background-color: var(--fond-input);
  border: 1px solid var(--bordure);
  color: white;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
}
.input-custom:focus {
  background-color: var(--fond-input);
  border-color: var(--bleu-pureclean);
  color: white;
  outline: none;
  box-shadow: none;
}

/* =========================================
   MENU LATÉRAL (SIDEBAR) DES DASHBOARDS
   ========================================= */
.sidebar-link {
  color: var(--texte-gris);
  text-decoration: none;
  display: block;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 5px;
  font-weight: 500;
}
.sidebar-link:hover,
.sidebar-link.active {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--bleu-pureclean);
}

/* Customisation du tableau d'historique */
.table-custom {
  color: white;
  border-color: var(--bordure);
}
.table-custom th {
  color: var(--texte-gris);
  border-bottom: 2px solid var(--bordure);
  font-weight: normal;
  font-size: 0.85rem;
}
.table-custom td {
  background-color: transparent;
  color: white;
  border-bottom: 1px solid var(--bordure);
  vertical-align: middle;
}

.image_accueil img {
  border-radius: 30px;
  height: auto;
  width: 600px;
}

/* --- Styles spécifiques Connexion/Inscription --- */

/* Les onglets (Tabs) */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--bordure);
  margin-bottom: 2rem;
  gap: 20px;
}
.auth-tabs a {
  color: var(--texte-gris);
  text-decoration: none;
  padding-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}
.auth-tabs a.active {
  color: white;
  border-bottom: 2px solid var(--bleu-pureclean);
}