/* Variables et Reset */
:root {
  --bleu-nuit: #001a33;
  --bleu-fonce: #003366;
  --orange: #FF7F00;
  --blanc: #ffffff;
  --gris-clair: #f5f5f5;
  --texte-fonce: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: var(--gris-clair);
  color: var(--texte-fonce);
  line-height: 1.6;
  padding-top: 80px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Fixe */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bleu-nuit);
  color: var(--blanc);
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 24px;
  font-weight: bold;
}

/* Navigation Principale */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links > li:not(.nav-selector) {
  margin: 0 15px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  padding: 10px 0;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--orange);
}

/* Sélecteurs intégrés (langue/devise) */
.nav-selector {
  position: relative;
  margin-left: 15px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  padding: 5px 8px;    border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background: white;
  min-width: 180px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.nav-dropdown.show {
  display: block;
}

.nav-option {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.nav-option:hover {
  background: #f5f5f5;
}

.nav-option .flag, 
.nav-option .symbol {
  font-size: 16px;
}

/* Couleurs spécifiques */
.nav-option[data-lang="fr"] { color: #0055A4; }
.nav-option[data-lang="hu"] { color: #436F4D; }
.nav-option[data-lang="sr"] { color: #0C4076; }
.nav-option[data-lang="hr"] { color: #171796; }
.nav-option[data-lang="de"] { color: #000000; }
.nav-option[data-lang="ro"] { color: #002B7F; }
.nav-option[data-lang="es"] { color: #AA151B; }
.nav-option[data-lang="bg"] { color: #00966E; }

/* Styles spécifiques pour les nouvelles devises */
.nav-option[data-currency="EUR"] { color: #0033A0; }
.nav-option[data-currency="USD"] { color: #00853E; }
.nav-option[data-currency="GBP"] { color: #B22234; }
.nav-option[data-currency="PLN"] { color: #DC143C; }
.nav-option[data-currency="CHF"] { color: #D52B1E; }
.nav-option[data-currency="CZK"] { color: #11457E; }
.nav-option[data-currency="NOK"] { color: #00205B; }
.nav-option[data-currency="DKK"] { color: #C60C30; }
.nav-option[data-currency="SEK"] { color: #005293; }

/* Ajustement des symboles */
.nav-option[data-currency="PLN"] .symbol { font-weight: bold; }
.nav-option[data-currency="CZK"] .symbol { font-size: 0.9em; }
.nav-option[data-currency="NOK"] .symbol,
.nav-option[data-currency="DKK"] .symbol,
.nav-option[data-currency="SEK"] .symbol { font-size: 0.85em; }
/* Hero Section */
.hero-section {
  background-image: linear-gradient(rgba(0, 26, 51, 0.7), rgba(0, 26, 51, 0.7)), 
                  url('../images/banking-hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0 60px;
  text-align: center;
  margin-top: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-section .subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Login Box */
.login-box {
  margin-top: -40px;
  background-color: var(--blanc);
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  position: relative;
  z-index: 100;
}

/* Formulaire */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.btn-login {
  background-color: var(--orange);
  color: var(--blanc);
  border: none;
  padding: 12px 20px;
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-login:hover {
  background-color: #e67300;
}

/* Footer */
footer {
  background-color: var(--bleu-nuit);
  color: var(--blanc);
  padding: 20px 0;
  text-align: center;
}

.payment-methods {
  margin: 1.5rem 0;
  text-align: center;
}

.card-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0.5rem 0;
}

.card-icons img {
  height: 1.8rem;
  width: auto;
  max-width: 3.5rem;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.25s;
}

.card-icons img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  
  .header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .hamburger-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bleu-fonce);
    padding: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s;
    flex-direction: column;
    z-index: 998;
  }
  
  .main-nav.active {
    transform: translateY(0);
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .nav-links > li {
    margin: 10px 0 !important;
    width: 100%;
  }
  
  .nav-selector {
    margin: 15px 0 0 0;
  }
  
  .nav-btn, .nav-links a {
    width: 100%;
    padding: 12px;
    justify-content: space-between;
  }
  
  .nav-dropdown {
    position: static;
    width: 100%;
    margin-top: 5px;
  }
  
  .hero-section {
    padding: 80px 0 40px;
  }
  
  .login-box {
    margin-top: -30px;
    padding: 20px;
  }
  
  .card-icons img {
    height: 1.5rem;
    max-width: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-section h2 {
    font-size: 1.8rem;
  }
  
  .hero-section .subtitle {
    font-size: 1rem;
  }
  
  .card-icons {
    gap: 0.6rem;
  }
  
  .card-icons img {
    height: 1.2rem;
    max-width: 2.5rem;
  }
}
/* Section Connexion - Version Épurée */
.login-box {
  background-color: var(--blanc);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  max-width: 420px;
  margin: -3rem auto 0;
  position: relative;
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-box h2 {
  color: var(--bleu-nuit);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.subtitle {
  font-size: 0.95rem;
  color: var(--texte-fonce);
  text-align: center;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.register-link {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.register-link a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.register-link a:hover {
  opacity: 0.8;
}

.separator {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 1.5rem 0;
  border: none;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--texte-fonce);
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-group input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
  outline: none;
}

.btn-login {
  background-color: var(--orange);
  color: var(--blanc);
  border: none;
  padding: 0.75rem;
  width: 100%;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.btn-login:hover {
  background-color: #e67300;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.forgot-password {
  text-align: center;
  margin-top: 1rem;
}

.forgot-password a {
  color: var(--orange);
  text-decoration: none;
  font-size: 0.85rem;
  transition: opacity 0.2s;
}

.forgot-password a:hover {
  opacity: 0.8;
}

/* Version Mobile */
@media (max-width: 768px) {
  .login-box {
    padding: 1.5rem;
    margin-top: -2rem;
    border-radius: 10px;
  }
  
  .login-box h2 {
    font-size: 1.3rem;
  }
  
  .form-group input {
    padding: 0.65rem;
  }
  
  .btn-login {
    padding: 0.65rem;
  }
}
/* Masquer le bouton hamburger par défaut */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Afficher le bouton hamburger uniquement sur mobile */
@media (max-width: 768px) {
  .hamburger-btn {
      display: block;
  }

  /* Optionnel : Masquer la navigation principale par défaut sur mobile */
  .main-nav {
      display: none;
  }

  /* Afficher la navigation lorsque le menu est actif */
  .main-nav.active {
      display: block;
  }
}

.header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-selectors {
  display: flex;
  gap: 10px;
  margin-right: 10px;
}

/* Styles pour les sélecteurs */
.nav-selector {
  position: relative;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: #32205c;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  min-width: 150px;
}

.nav-dropdown.show {
  display: block;
}

.nav-option {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-option:hover {
  background-color: #f0f0f0;
}

/* Adaptation pour mobile */
@media (max-width: 768px) {
  .header-selectors {
      display: flex; 
      gap: 5px;
  }
}
/* Dashboard Styles */
.dashboard-container {
  margin-top: -40px;
  background-color: var(--blanc);
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  position: relative;
  z-index: 100;
}

.dashboard-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.dashboard-section:last-child {
  border-bottom: none;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h3 {
  color: var(--bleu-nuit);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  background-color: var(--orange);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.welcome-message {
  background-color: var(--gris-clair);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.welcome-message p {
  margin: 0;
  color: var(--bleu-fonce);
}

.account-summary {
  margin-bottom: 30px;
}

.balance-card {
  background: linear-gradient(135deg, var(--bleu-nuit), var(--bleu-fonce));
  color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.balance-card h4 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  opacity: 0.9;
}

.amount {
  font-size: 2rem;
  font-weight: bold;
  margin: 10px 0;
}

.account-info {
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.quick-actions .actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.action-card {
  background-color: var(--gris-clair);
  border-radius: 8px;
  padding: 20px 15px;
  text-align: center;
  text-decoration: none;
  color: var(--bleu-nuit);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.action-card:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

.action-card i {
  font-size: 1.5rem;
  color: var(--orange);
}

.transactions-table {
  overflow-x: auto;
  margin-top: 15px;
}

.transactions-table table {
  width: 100%;
  border-collapse: collapse;
}

.transactions-table th,
.transactions-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.transactions-table th {
  background-color: var(--gris-clair);
  color: var(--bleu-nuit);
  font-weight: 500;
}

.status {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status.completed {
  background-color: #e6f7ee;
  color: #00966E;
}

.status.pending {
  background-color: #fff8e6;
  color: #FF7F00;
}

.support-info {
  background-color: var(--gris-clair);
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.support-info p {
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-support {
  display: inline-block;
  background-color: var(--orange);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
  font-weight: 500;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-support:hover {
  background-color: #e67300;
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-container {
      padding: 20px;
      margin-top: -30px;
  }
  
  .actions-grid {
      grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .transactions-table th,
  .transactions-table td {
      padding: 8px 10px;
      font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .actions-grid {
      grid-template-columns: 1fr !important;
  }
  
  .section-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
}
/* Withdrawal Page Styles */
.withdrawal-box {
margin-top: -40px;
background-color: var(--blanc);
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
padding: 2rem;
position: relative;
z-index: 100;
border: 1px solid rgba(0, 0, 0, 0.05);
}

.withdrawal-header {
margin-bottom: 1.5rem;
text-align: center;
}

.withdrawal-header h3 {
color: var(--bleu-nuit);
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 0.5rem;
}

.withdrawal-header p {
color: var(--texte-fonce);
opacity: 0.8;
margin: 0;
}

.warning-message {
background-color: #fff8e6;
border-left: 4px solid var(--orange);
padding: 15px;
margin-bottom: 1.5rem;
display: flex;
gap: 15px;
border-radius: 0 4px 4px 0;
}

.warning-icon {
color: var(--orange);
font-size: 1.2rem;
}

.warning-content p {
margin: 0;
color: var(--texte-fonce);
}

.warning-content strong {
color: var(--orange);
}

.withdrawal-form .form-row {
display: flex;
gap: 20px;
margin-bottom: 1rem;
}

.withdrawal-form .form-group {
flex: 1;
margin-bottom: 0;
}

.amount-input {
position: relative;
}

.amount-input .currency {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
color: var(--bleu-nuit);
font-weight: 500;
}

.amount-input input {
padding-right: 40px;
}

.terms-checkbox {
display: flex;
align-items: center;
margin: 1.5rem 0;
}

.terms-checkbox input {
margin-right: 10px;
width: auto;
}

.terms-checkbox label {
margin-bottom: 0;
font-size: 0.9rem;
}

.terms-checkbox a {
color: var(--orange);
text-decoration: none;
}

.btn-withdrawal {
background-color: var(--orange);
color: var(--blanc);
border: none;
padding: 0.75rem;
width: 100%;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}

.btn-withdrawal:hover {
background-color: #e67300;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
.withdrawal-box {
    padding: 1.5rem;
    margin-top: -2rem;
}

.withdrawal-form .form-row {
    flex-direction: column;
    gap: 1rem;
}

.terms-checkbox label {
    font-size: 0.85rem;
}
}
/* Assurez-vous que les sélecteurs sont visibles */
.nav-selector {
position: relative;
z-index: 1000;
}

.nav-btn {
cursor: pointer;
transition: all 0.3s;
}

.nav-dropdown {
display: none;
position: absolute;
right: 0;
background: white;
/* ... autres styles ... */
}

.nav-dropdown.show {
display: block;
}
/* Styles pour la page de chargement */
.loading-container {
margin-top: 2rem;
text-align: center;
}

.loading-progress {
height: 10px;
background-color: #e0e0e0;
border-radius: 5px;
overflow: hidden;
margin: 0 auto;
max-width: 300px;
}

.progress-bar {
height: 100%;
background-color: var(--orange);
transition: width 0.3s ease;
}

.loading-percentage {
margin-top: 1rem;
font-size: 1.5rem;
font-weight: bold;
color: var(--blanc);
}

/* Adaptation mobile */
@media (max-width: 768px) {
.loading-progress {
    height: 8px;
}

.loading-percentage {
    font-size: 1.2rem;
}
}
/* Styles pour la nouvelle navigation */
.nav-links a {
color: white;
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
font-size: 15px;
padding: 10px 15px;
transition: all 0.3s;
border-radius: 4px;
}

.nav-links a:hover {
background-color: rgba(255, 255, 255, 0.1);
color: var(--orange);
}

.nav-links a i {
width: 20px;
text-align: center;
}

.logout-link {
color: #ff6b6b !important;
}

.logout-link:hover {
background-color: rgba(255, 107, 107, 0.1) !important;
}

/* Styles pour la page de chargement */
.loading-container {
margin-top: 2rem;
text-align: center;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}

.loading-progress {
height: 12px;
background-color: rgba(255, 255, 255, 0.2);
border-radius: 6px;
overflow: hidden;
margin: 20px 0;
}

.progress-bar {
height: 100%;
background-color: var(--orange);
transition: width 0.5s ease;
border-radius: 6px;
}

.loading-percentage {
font-size: 1.8rem;
font-weight: bold;
color: var(--blanc);
margin-top: 10px;
}

/* Adaptation mobile */
@media (max-width: 768px) {
.nav-links {
    flex-direction: column;
    padding: 10px 0;
}

.nav-links li {
    width: 100%;
}

.nav-links a {
    padding: 12px 20px;
}

.loading-progress {
    height: 8px;
}

.loading-percentage {
    font-size: 1.4rem;
}
}

/* Animation de chargement */
@keyframes pulse {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}

.loading-percentage {
animation: pulse 1.5s infinite;
}
/* Styles pour la boîte de code de retrait */
.withdrawal-code-box {
background-color: var(--blanc);
border-radius: 12px;
padding: 30px;
max-width: 500px;
margin: 0 auto;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
text-align: center;
}

.withdrawal-code-box h2 {
color: var(--bleu-nuit);
margin-bottom: 20px;
font-size: 1.8rem;
}

.warning-message {
background-color: #fff8e6;
border-left: 4px solid var(--orange);
padding: 15px;
margin: 20px 0;
display: flex;
align-items: flex-start;
gap: 10px;
text-align: left;
}

.warning-message i {
color: var(--orange);
font-size: 1.5rem;
margin-top: 2px;
}

.warning-message p {
margin: 0;
color: var(--texte-fonce);
font-size: 1rem;
line-height: 1.5;
}

.btn-confirm {
background-color: var(--orange);
color: var(--blanc);
border: none;
padding: 12px 30px;
border-radius: 6px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
margin-top: 15px;
}

.btn-confirm:hover {
background-color: #e67300;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Adaptation mobile */
@media (max-width: 768px) {
.withdrawal-code-box {
    padding: 20px;
    margin: 20px;
}

.withdrawal-code-box h2 {
    font-size: 1.5rem;
}

.warning-message {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.btn-confirm {
    width: 100%;
    padding: 12px;
}
}
/* Styles pour la page de vérification */
.verification-box {
background-color: var(--blanc);
border-radius: 12px;
padding: 30px;
max-width: 450px;
margin: 0 auto;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.verification-header {
margin-bottom: 30px;
text-align: center;
position: relative;
}

.verification-header h2 {
color: var(--bleu-nuit);
font-size: 1.8rem;
margin: 10px 0;
}

.back-button {
position: absolute;
left: 0;
top: 5px;
color: var(--orange);
text-decoration: none;
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 5px;
}

.back-button:hover {
text-decoration: underline;
}

.code-input-container {
margin-bottom: 30px;
}

.code-input-container label {
display: block;
margin-bottom: 10px;
color: var(--texte-fonce);
font-weight: 500;
}

.code-input {
display: flex;
gap: 10px;
justify-content: center;
}

.code-input input {
width: 50px;
height: 60px;
text-align: center;
font-size: 1.5rem;
border: 2px solid #ddd;
border-radius: 8px;
transition: all 0.3s;
}

.code-input input:focus {
border-color: var(--orange);
box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
outline: none;
}

.btn-verify {
background-color: var(--orange);
color: var(--blanc);
border: none;
padding: 14px;
width: 100%;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
margin-bottom: 20px;
}

.btn-verify:hover {
background-color: #e67300;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.extension-link {
text-align: center;
}

.extension-link a {
color: var(--orange);
text-decoration: none;
font-size: 0.9rem;
display: inline-flex;
align-items: center;
gap: 5px;
}

.extension-link a:hover {
text-decoration: underline;
}

/* Adaptation mobile */
@media (max-width: 768px) {
.verification-box {
    padding: 20px;
    margin: 20px;
}

.verification-header h2 {
    font-size: 1.5rem;
}

.code-input {
    gap: 8px;
}

.code-input input {
    width: 40px;
    height: 50px;
    font-size: 1.2rem;
}

.btn-verify {
    padding: 12px;
}
}

/* Nouveaux styles pour la page d'accueil */
.hero-video-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px; /* Compensation du header fixe */
}

#video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  background: rgba(0, 26, 51, 0.7);
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-overlay .container {
  max-width: 800px;
}

.hero-overlay h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-primary, .btn-secondary {
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--orange);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

/* Sections alternées */
.section-light {
  padding: 60px 0;
  background-color: var(--blanc);
}

.section-dark {
  padding: 60px 0;
  background-color: var(--gris-clair);
}

/* Styles spécifiques à la page services */
.services-main {
padding: 60px 0;
background-color: var(--gris-clair);
}

.service-category {
margin-bottom: 50px;
}

.service-header {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 30px;
color: var(--bleu-nuit);
border-bottom: 2px solid var(--orange);
padding-bottom: 10px;
}

.service-header i {
font-size: 1.8rem;
color: var(--orange);
}

.service-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}

.service-card {
background: var(--blanc);
border-radius: 8px;
padding: 25px;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
transition: transform 0.3s;
}

.service-card:hover {
transform: translateY(-5px);
}

.service-card h3 {
color: var(--bleu-nuit);
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 10px;
}

.service-card h3 i {
color: var(--orange);
font-size: 1.2rem;
}

.service-card p {
color: var(--texte-fonce);
line-height: 1.6;
}

.service-cta {
text-align: center;
margin-top: 50px;
padding: 30px;
background: var(--blanc);
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.service-cta p {
font-size: 1.2rem;
margin-bottom: 20px;
color: var(--bleu-nuit);
}

/* Responsive */
@media (max-width: 768px) {
.service-grid {
    grid-template-columns: 1fr;
}

.service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
}
/* Animation des icônes */
.service-card i {
transition: transform 0.3s ease;
}

.service-card:hover i {
transform: scale(1.1);
}

/* Couleurs spécifiques pour certaines catégories */
.service-category:nth-child(odd) .service-header {
background: linear-gradient(90deg, rgba(0,26,51,0.1) 0%, rgba(255,255,255,0) 100%);
padding-left: 15px;
}

/* Style pour les titres de section */
.service-header h2 {
font-size: 1.8rem;
margin: 0;
}

/* Responsive tablette */
@media (max-width: 992px) {
.service-grid {
    grid-template-columns: repeat(2, 1fr);
}
}
/* Styles À propos */
.about-header {
text-align: center;
margin-bottom: 50px;
}

.about-header .lead {
font-size: 1.2rem;
color: var(--bleu-fonce);
max-width: 700px;
margin: 0 auto;
}

.about-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-bottom: 40px;
}

.about-card {
background: var(--blanc);
border-radius: 10px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: transform 0.3s;
}

.about-card:hover {
transform: translateY(-10px);
}

.about-card.highlighted {
border-top: 4px solid var(--orange);
box-shadow: 0 10px 20px rgba(255,127,0,0.1);
}

.about-icon {
font-size: 2rem;
color: var(--orange);
margin-bottom: 20px;
}

.about-card h3 {
color: var(--bleu-nuit);
margin-bottom: 15px;
}

.about-card ul {
list-style: none;
padding: 0;
}

.about-card li {
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 10px;
}

.about-card li i {
color: var(--orange);
}

.stats {
display: flex;
gap: 20px;
margin-top: 20px;
}

.stat-item {
text-align: center;
}

.stat-number {
font-size: 2rem;
font-weight: bold;
color: var(--orange);
display: block;
}

.stat-label {
font-size: 0.9rem;
color: var(--bleu-fonce);
}

.about-cta {
text-align: center;
padding: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
.about-grid {
    grid-template-columns: 1fr;
}

.stats {
    justify-content: center;
}
}
/* ==============================================
 SECTION SERVICES - CORRECTION VISIBILITÉ
 ============================================== */

 .services-section {
  background-color: var(--bleu-nuit);
  color: white;
  padding: 80px 0;
  position: relative;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 2.8rem;
  color: var(--orange);
  margin-bottom: 20px;
  text-align: center;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #566861;
  text-align: center;
}

.service-description {
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-description p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 1rem;
  text-align: center;
  margin: 0;
}

.service-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  margin-top: auto;
}

.service-link:hover {
  color: white;
  gap: 12px;
}

.service-link i {
  transition: transform 0.3s;
}

.service-link:hover i {
  transform: translateX(5px);
}

.btn-orange {
  background-color: var(--orange);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-orange:hover {
  background-color: #e67300;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-section {
      padding: 60px 0;
  }
  
  .services-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .service-card {
      padding: 25px;
  }
  
  .service-icon {
      font-size: 2.5rem;
  }
}
/* Styles Contact */
.contact-container {
max-width: 1200px;
margin: 0 auto;
}

.contact-subtitle {
text-align: center;
color: var(--bleu-fonce);
margin-bottom: 40px;
font-size: 1.1rem;
}

.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
}

.contact-form {
background: var(--blanc);
padding: 30px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form .form-row {
display: flex;
gap: 20px;
}

.contact-form .form-row .form-group {
flex: 1;
}

.contact-form select,
.contact-form textarea {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-family: inherit;
}

.contact-info {
display: grid;
gap: 20px;
}

.info-card {
background: var(--blanc);
padding: 25px;
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0,0,0,0.05);
text-align: center;
}

.info-card i {
font-size: 2rem;
color: var(--orange);
margin-bottom: 15px;
}

.info-card h3 {
color: var(--bleu-nuit);
margin-bottom: 10px;
}

.info-card p {
margin-bottom: 5px;
}

.link {
color: var(--orange);
text-decoration: none;
font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
.contact-grid {
    grid-template-columns: 1fr;
}

.contact-form .form-row {
    flex-direction: column;
    gap: 0;
}
}
/* ==================== */
/* ABOUT CTA ENHANCED */
/* ==================== */
.about-cta {
background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-fonce) 100%);
border-radius: 16px;
padding: 2.5rem;
text-align: center;
margin: 3rem auto;
max-width: 800px;
position: relative;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 38, 77, 0.15);
border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-cta::before {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
animation: pulse 8s infinite linear;
}

.about-cta p {
color: white;
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1.5rem;
position: relative;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-cta .btn-primary {
background-color: var(--orange);
color: white;
padding: 1rem 2rem;
border-radius: 50px;
font-weight: 600;
font-size: 1.1rem;
display: inline-flex;
align-items: center;
gap: 0.8rem;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
border: none;
position: relative;
overflow: hidden;
z-index: 1;
}

.about-cta .btn-primary::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background-color: rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
z-index: -1;
}

.about-cta .btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(255, 127, 0, 0.4);
}

.about-cta .btn-primary:hover::before {
width: 100%;
}

.about-cta .btn-primary i {
transition: transform 0.3s ease;
}

.about-cta .btn-primary:hover i {
transform: translateX(5px);
}

/* Animation */
@keyframes pulse {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
.about-cta {
    padding: 1.8rem;
    margin: 2rem auto;
}

.about-cta p {
    font-size: 1.3rem;
}

.about-cta .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}
}
.particle {
position: absolute;
width: 5px;
height: 5px;
background: rgba(255, 255, 255, 0.6);
border-radius: 50%;
pointer-events: none;
animation: float 1s ease-out forwards;
}

@keyframes float {
to {
    transform: translateY(-20px);
    opacity: 0;
}
}
/* ==============================================
 SIGN-UP PAGE SPECIFIC STYLES
 ============================================== */

/* Main sign-up box adjustments */
.signup-box {
max-width: 600px; /* Un peu plus large que le login-box */
margin: -40px auto 0;
background-color: var(--blanc);
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
padding: 2.5rem;
position: relative;
z-index: 100;
border: 1px solid rgba(0, 0, 0, 0.05);
}

.signup-box .register-link {
text-align: center;
margin-bottom: 1.5rem;
font-size: 0.95rem;
}

.signup-box .register-link a {
color: var(--orange);
text-decoration: none;
font-weight: 500;
transition: opacity 0.2s;
}

.signup-box .register-link a:hover {
opacity: 0.8;
}

/* Form group adjustments for sign-up */
.signup-box .form-group {
margin-bottom: 1.1rem;
}

.signup-box .form-group label {
display: block;
margin-bottom: 0.5rem;
font-size: 0.9rem;
color: var(--texte-fonce);
font-weight: 500;
}

.signup-box .form-group input,
.signup-box .form-group select {
width: 100%;
padding: 0.75rem;
border: 1px solid #e0e0e0;
border-radius: 8px;
font-size: 0.95rem;
transition: all 0.3s;
}

.signup-box .form-group input:focus,
.signup-box .form-group select:focus {
border-color: var(--orange);
box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
outline: none;
}

/* Checkbox group styling */
.checkbox-group {
display: flex;
align-items: center;
margin: 1.5rem 0;
}

.checkbox-group input {
width: auto;
margin-right: 10px;
}

.checkbox-group label {
margin-bottom: 0;
font-size: 0.9rem;
color: var(--texte-fonce);
}

.checkbox-group a {
color: var(--orange);
text-decoration: none;
transition: opacity 0.2s;
}

.checkbox-group a:hover {
opacity: 0.8;
text-decoration: underline;
}

/* Submit button adjustments */
.signup-box .btn-login {
margin-top: 0.5rem;
padding: 0.85rem;
font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.signup-box {
    padding: 1.8rem;
    margin-top: -30px;
    border-radius: 10px;
}

.signup-box .form-group input,
.signup-box .form-group select {
    padding: 0.65rem;
}

.signup-box .btn-login {
    padding: 0.75rem;
}

.checkbox-group label {
    font-size: 0.85rem;
}
}

@media (max-width: 480px) {
.signup-box {
    padding: 1.5rem;
}

.signup-box .form-group {
    margin-bottom: 1rem;
}
}

/* Form row for side-by-side fields */
.form-row {
display: flex;
gap: 15px;
}

.form-row .form-group {
flex: 1;
}

@media (max-width: 480px) {
.form-row {
    flex-direction: column;
    gap: 0;
}
}

/* Password strength indicator */
.password-strength {
margin-top: 5px;
height: 4px;
background-color: #eee;
border-radius: 2px;
overflow: hidden;
}

.strength-bar {
height: 100%;
width: 0;
transition: width 0.3s, background-color 0.3s;
}

.strength-weak {
background-color: #ff4d4d;
width: 25%;
}

.strength-medium {
background-color: #ffa500;
width: 50%;
}

.strength-strong {
background-color: #4CAF50;
width: 75%;
}

.strength-very-strong {
background-color: #2E7D32;
width: 100%;
}

/* Tooltip for password requirements */
.password-tooltip {
position: relative;
display: inline-block;
margin-left: 5px;
color: var(--orange);
cursor: help;
}

.password-tooltip .tooltip-text {
visibility: hidden;
width: 200px;
background-color: var(--bleu-nuit);
color: var(--blanc);
text-align: center;
border-radius: 6px;
padding: 10px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
opacity: 0;
transition: opacity 0.3s;
font-size: 0.8rem;
font-weight: normal;
}

.password-tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}

/* Country select styling */
.country-select {
position: relative;
}

.country-select::after {
content: "▼";
font-size: 0.7rem;
color: var(--texte-fonce);
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
}
/* ==============================================
 CONTACT PAGE SPECIFIC STYLES
 ============================================== */

 .contact-container {
  padding: 40px 0;
}

.contact-subtitle {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--bleu-fonce);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.contact-form {
  background: var(--blanc);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  color: var(--bleu-nuit);
  margin-bottom: 25px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  flex: 1;
  margin-bottom: 0;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--bleu-nuit);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info-card {
  background: var(--blanc);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card i {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 15px;
}

.info-card h3 {
  color: var(--bleu-nuit);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.info-card p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.info-card strong {
  color: var(--bleu-fonce);
}

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  background: var(--blanc);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: var(--bleu-nuit);
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-answer {
  background: var(--blanc);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 15px 0;
  margin: 0;
  line-height: 1.6;
  color: var(--texte-fonce);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
      grid-template-columns: 1fr;
  }
  
  .contact-info {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-form .form-row {
      flex-direction: column;
      gap: 0;
      margin-bottom: 0;
  }
  
  .contact-form .form-group {
      margin-bottom: 20px;
  }
  
  .contact-subtitle {
      font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .contact-info {
      grid-template-columns: 1fr;
  }
  
  .faq-question {
      padding: 15px;
      font-size: 0.95rem;
  }
}
/* ==============================================
   BLOG STYLES - OPTIMISÉ AVEC VIDÉO BG
   ============================================== */

/* Reset des styles de base */
.blog-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Conteneur vidéo */
.blog-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Overlay pour améliorer la lisibilité */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 26, 51, 0.6);
  z-index: 0;
}

/* Contenu du hero */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 0.8s ease;
}

.hero-content p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  opacity: 0.9;
  margin-bottom: 2rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

/* Fallback si la vidéo ne charge pas */
.blog-hero {
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-fonce) 100%);
}

/* Styles pour le reste de la page blog */
.blog-categories {
  padding: 60px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Animation */
@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hero {
      height: 60vh;
      min-height: 400px;
  }
}

@media (max-width: 480px) {
  .blog-hero {
      height: 50vh;
      min-height: 300px;
  }
  
  .hero-content h1 {
      font-size: 2rem;
  }
}

/* Solution alternative pour mobile */
@media (hover: none) {
  .blog-hero-video {
  }
  
  .blog-hero {
      background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-fonce) 100%);
  }
  
  
}
/* ==============================================
   BLOG MAIN STYLES - MODERNE ET OPTIMISÉ
   ============================================== */

   .blog-main {
    padding: 4rem 0;
    background-color: var(--gris-clair);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Catégories */
.blog-categories {
    margin-bottom: 5rem;
}

.blog-categories h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--bleu-nuit);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: var(--texte-fonce);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--orange);
}

.category-icon {
    font-size: 2.8rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 127, 0, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 127, 0, 0.2);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--bleu-nuit);
    font-weight: 600;
}

.category-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--texte-fonce);
    opacity: 0.9;
    font-size: 1rem;
}

.articles-count {
    display: inline-block;
    background: rgba(0, 26, 51, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--bleu-nuit);
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: auto;
}

.category-card:hover .articles-count {
    background: var(--orange);
    color: white;
}

/* Section Articles Récents */
.recent-articles {
    padding: 4rem 0;
}

.recent-articles h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--bleu-nuit);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--orange);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.article-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--bleu-nuit);
    line-height: 1.4;
}

.article-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: var(--orange);
}

.article-excerpt {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--texte-fonce);
    opacity: 0.9;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
}

.article-date, .article-readtime {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Bouton Voir plus */
.text-center {
    text-align: center;
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
}

.btn-orange:hover {
    background: #e67300;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 127, 0, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .blog-main {
        padding: 3rem 0;
    }
    
    .categories-grid, .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card, .article-card {
        padding: 1.8rem;
    }
    
    .article-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blog-categories h2, 
    .recent-articles h2 {
        font-size: 1.6rem;
    }
    
    .category-icon {
        font-size: 2.2rem;
        width: 70px;
        height: 70px;
    }
    
    .btn-orange {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
 /* Styles spécifiques pour la vidéo d'arrière-plan */
 .blog-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 80px; /* Compensation du header fixe */
}

#video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 26, 51, 0.6);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Fallback si la vidéo ne charge pas */
@media (hover: none) {
s
  
  .blog-hero {
      background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-fonce) 100%);
  }
  
 
}
.hero-video-section {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero-video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay .container {
  padding: 20px;
}
.about-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-header h2 {
    color: var(--bleu-nuit);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.about-header .lead {
    font-size: 1.4rem;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-description {
    text-align: left;
    margin-top: 2rem;
}

.about-description p {
    color: var(--texte-fonce);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-values {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    background: rgba(0, 54, 107, 0.05);
    padding: 25px;
    border-radius: 10px;
}

.about-values li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-values li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.about-values i {
    color: var(--orange);
    margin-top: 3px;
    min-width: 20px;
}

.about-commitment {
    font-style: italic;
    background-color: rgba(0, 128, 0, 0.05);
    padding: 15px;
    border-left: 4px solid var(--orange);
}

@media (max-width: 768px) {
    .about-header h2 {
        font-size: 1.8rem;
    }
    
    .about-header .lead {
        font-size: 1.2rem;
    }
    
    .about-values {
        padding: 15px;
    }
}
/* ==============================================
   PASSWORD RESET PAGE SPECIFIC STYLES
   ============================================== */

.password-reset-box {
    max-width: 450px;
    margin: -40px auto 0;
    background-color: var(--blanc);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    position: relative;
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.password-reset-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.password-reset-header h2 {
    color: var(--bleu-nuit);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.password-reset-header p {
    color: var(--texte-fonce);
    opacity: 0.8;
    margin: 0;
    font-size: 0.95rem;
}

.reset-instructions {
    background-color: #f8f9fa;
    border-left: 4px solid var(--orange);
    padding: 15px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--texte-fonce);
    border-radius: 0 4px 4px 0;
}

.reset-form .form-group {
    margin-bottom: 1.25rem;
}

.reset-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--texte-fonce);
    font-weight: 500;
}

.reset-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.reset-form input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
    outline: none;
}

.btn-reset {
    background-color: var(--orange);
    color: var(--blanc);
    border: none;
    padding: 0.75rem;
    width: 100%;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.btn-reset:hover {
    background-color: #e67300;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.reset-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--texte-fonce);
}

.reset-footer a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.reset-footer a:hover {
    opacity: 0.8;
}

/* Success message styling */
.reset-success {
    text-align: center;
    padding: 20px;
}

.reset-success i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.reset-success h3 {
    color: var(--bleu-nuit);
    margin-bottom: 1rem;
}

.reset-success p {
    color: var(--texte-fonce);
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .password-reset-box {
        padding: 1.8rem;
        margin-top: -30px;
        border-radius: 10px;
    }
    
    .password-reset-header h2 {
        font-size: 1.3rem;
    }
    
    .reset-form input {
        padding: 0.65rem;
    }
    
    .btn-reset {
        padding: 0.65rem;
    }
}

@media (max-width: 480px) {
    .password-reset-box {
        padding: 1.5rem;
    }
    
    .reset-instructions {
        font-size: 0.85rem;
        padding: 12px;
    }
}

/* Animation for the success state */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.reset-success {
    animation: fadeIn 0.5s ease-out;
}
/* ==============================================
   VERIFICATION CARD TEXT ENHANCEMENT
   ============================================== */

   .verification-header h2 {
    font-size: 1.8rem;
    color: var(--bleu-nuit);
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.3;
    text-align: center;
    background: linear-gradient(to right, var(--bleu-nuit), var(--bleu-fonce));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    padding-bottom: 10px;
}

.verification-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

.verification-header p {
    font-size: 1.05rem;
    color: var(--texte-fonce);
    opacity: 0.9;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.code-input-container label {
    display: block;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--bleu-fonce);
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.extension-link a {
    color: var(--orange);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.extension-link a:hover {
    color: var(--bleu-nuit);
    text-decoration: underline;
}

.extension-link {
    text-align: center;
    margin-top: 1.5rem;
}

/* Animation pour les inputs */
.code-input input {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    color: var(--bleu-nuit);
}

.code-input input:focus {
    border-color: var(--orange);
    box-shadow: 0 3px 10px rgba(255, 127, 0, 0.2);
    transform: translateY(-2px);
}

/* Style du bouton de vérification */
.btn-verify {
    background: linear-gradient(135deg, var(--orange), #ff6b00);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
}

.btn-verify:hover {
    background: linear-gradient(135deg, #ff6b00, var(--orange));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 0, 0.4);
}

.btn-verify:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .verification-header h2 {
        font-size: 1.5rem;
    }
    
    .verification-header p {
        font-size: 0.95rem;
    }
    
    .code-input-container label {
        font-size: 0.9rem;
    }
    
    .btn-verify {
        padding: 12px;
        font-size: 1rem;
    }
}
/* ==============================================
   CODE INPUT ENHANCEMENT
   ============================================== */
   .code-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.code-input input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    color: var(--bleu-nuit);
    background-color: rgba(255, 255, 255, 0.9);
}

.code-input input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.2);
    outline: none;
    transform: scale(1.05);
}

.code-input input.filled {
    border-color: var(--bleu-fonce);
    background-color: rgba(0, 51, 102, 0.05);
}

@media (max-width: 768px) {
    .code-input {
        gap: 8px;
    }
    
    .code-input input {
        width: 40px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .code-input {
        gap: 5px;
    }
    
    .code-input input {
        width: 35px;
        height: 45px;
        font-size: 1.3rem;
    }
}
/* ==============================================
   HISTORIQUE PAGE STYLES
   ============================================== */

/* Filtres Section */
.filters-section .filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.btn-apply-filters {
  background-color: var(--orange);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-apply-filters:hover {
  background-color: #e67300;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Statistiques Section */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 51, 102, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bleu-nuit);
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bleu-nuit);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--texte-fonce);
  opacity: 0.8;
}

/* Historique Complet Section */
.transactions-table-container {
  overflow-x: auto;
  margin: 20px 0;
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
}

.transactions-table th {
  background-color: var(--gris-clair);
  color: var(--bleu-nuit);
  padding: 12px 15px;
  text-align: left;
  font-weight: 500;
}

.transactions-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.transactions-table tr:hover {
  background-color: rgba(0, 51, 102, 0.03);
}

.credit {
  color: #00966E;
  font-weight: 500;
}

.debit {
  color: #D52B1E;
  font-weight: 500;
}

.btn-export {
  background-color: white;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-export:hover {
  background-color: var(--orange);
  color: white;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 30px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover:not(.disabled):not(.active) {
  border-color: var(--orange);
  color: var(--orange);
}

.page-btn.active {
  background-color: var(--orange);
  color: white;
  border-color: var(--orange);
}

.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .filters-grid {
      grid-template-columns: 1fr !important;
  }
  
  .stats-cards {
      grid-template-columns: 1fr;
  }
  
  .transactions-table th, 
  .transactions-table td {
      padding: 8px 10px;
      font-size: 0.9rem;
  }
}
/* Styles spécifiques à la page des cartes */

/* Conteneur principal */
.cards-container {
    padding: 2rem 0;
}

/* En-tête des sections */
.cards-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.cards-section .section-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #2c3e50;
}

.cards-section .section-header h3 i {
    margin-right: 0.5rem;
    color: #3498db;
}

/* Grille des cartes */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Carte individuelle */
.card-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* En-tête de carte */
.card-header {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.card-header img {
    width: 60px;
    height: auto;
    margin-bottom: auto;
}

.card-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card-status.active {
    background: #2ecc71;
    color: white;
}

.card-status.expired {
    background: #e74c3c;
    color: white;
}

/* Corps de la carte */
.card-body {
    padding: 1.5rem;
    color: #2c3e50;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.card-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.card-details div {
    display: flex;
    flex-direction: column;
}

.card-details span {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
}

.card-details strong {
    font-size: 0.9rem;
}

.card-holder {
    font-size: 0.9rem;
    font-weight: 600;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
}

/* Actions de la carte */
.card-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 1.5rem 1.5rem;
    gap: 0.75rem;
}

.btn-icon {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #7f8c8d;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: #f5f5f5;
    color: #3498db;
}

/* Cartes expirées */
.card-item.expired .card-header {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
}

/* Section limites et sécurité */
.limits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.limit-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.limit-card h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #2c3e50;
}

.limit-card h4 i {
    margin-right: 0.5rem;
    color: #3498db;
}

.progress-container {
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.progress-container span {
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* Interrupteur */
.toggle-switch {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-switch label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background: #bdc3c7;
    border-radius: 12px;
    margin-right: 0.75rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch label:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.toggle-switch input[type="checkbox"]:checked + label {
    background: #2ecc71;
}

.toggle-switch input[type="checkbox"]:checked + label:after {
    transform: translateX(26px);
}

.toggle-switch span {
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #2c3e50;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group select, 
.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.form-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

/* Styles spécifiques pour les types de cartes */
.visa-premium .card-header {
    background: linear-gradient(135deg, #1a2980, #26d0ce) !important;
}

.mastercard-gold .card-header {
    background: linear-gradient(135deg, #f39c12, #f1c40f) !important;
}

.visa-classic .card-header {
    background: linear-gradient(135deg, #3498db, #2c3e50) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .limits-grid {
        grid-template-columns: 1fr;
    }
    
    .cards-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .modal-content {
        margin: 1rem;
    }
}
/* Style pour la boîte d'avertissement */
.warning-box {
  background-color: #fff8e6;
  border-left: 4px solid #ffc107;
}

.warning-box .verification-header h2 {
  color: #d32f2f;
}

.warning-message {
  background-color: #fff3e0;
  padding: 10px;
  border-radius: 4px;
  margin: 15px 0;
  font-size: 14px;
}

.warning-message i {
  color: #ff9800;
  margin-right: 5px;
}

.btn-cancel {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  margin-top: 10px;
}

.btn-cancel:hover {
  background-color: #e0e0e0;
}

/* Style pour le message de remerciement */
.thank-you-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.thank-you-message.show {
  opacity: 1;
  visibility: visible;
}

.thank-you-content {
  text-align: center;
  max-width: 400px;
  padding: 40px 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.thank-you-message.show .thank-you-content {
  transform: translateY(0);
}

.thank-you-content i {
  font-size: 60px;
  color: #ff9800;
  margin-bottom: 20px;
  display: block;
}

.thank-you-content h2 {
  color: #ff9800;
  margin-bottom: 15px;
  font-size: 28px;
}

.thank-you-content p {
  color: #555;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.thank-you-content p:last-child {
  color: #777;
  font-style: italic;
  margin-top: 15px;
}

/* Styles spécifiques à la page de demande de prêt */
.loan-info {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.loan-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.loan-feature {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.loan-feature i {
  font-size: 24px;
  color: #ff9800;
  margin-right: 15px;
  width: 40px;
  text-align: center;
}

.loan-feature h4 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 16px;
}

.loan-feature p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* Formulaire de demande */
.loan-form {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
}

.form-group input[type="number"],
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input[type="number"]:focus,
.form-group select:focus {
  border-color: #ff9800;
  outline: none;
}

.input-with-slider {
  margin-bottom: 15px;
}

.range-slider {
  margin-top: 10px;
}

.range-slider input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: #e0e0e0;
  border-radius: 3px;
  outline: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #ff9800;
  border-radius: 50%;
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin: 25px 0;
}

.checkbox-group input {
  margin-right: 10px;
}

.checkbox-group label {
  margin: 0;
  font-weight: normal;
}

.checkbox-group a {
  color: #2196F3;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* Bouton de soumission */
.btn-submit {
  background-color: #ff9800;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
}

.btn-submit i {
  margin-right: 10px;
}

.btn-submit:hover {
  background-color: #ff9800;
}

/* Simulation de remboursement */
.repayment-simulation {
  background-color: #f5f9ff;
  border: 1px solid #e0e8f5;
  border-radius: 8px;
  padding: 20px;
}

.simulation-result {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.simulation-item {
  background-color: white;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
}

.simulation-item span {
  display: block;
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

.simulation-item strong {
  font-size: 18px;
  color: #ff9800;
}

.repayment-simulation small {
  color: #777;
  font-size: 12px;
  display: block;
  text-align: center;
}
/* Ajoutez ceci dans la balise head ou dans votre fichier styles.css */
.bank-email-content {
    text-align: center;
    margin: 20px 0;
}

.bank-email {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.2em;
    margin: 15px 0;
}

.warning-message {
    display: flex;
    align-items: center;
    background-color: #fff8e1;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.warning-message i {
    color: #ff9800;
    margin-right: 10px;
    font-size: 1.5em;
}

.warning-message p {
    margin: 0;
    color: #333;
}
/* Conteneur principal des cartes de vérification */
.verification-box {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

/* Style spécifique pour la boîte d'avertissement */
.verification-box.warning-box {
  border-left: 5px solid #ff9800;
  background-color: #fffaf3;
}

/* Style spécifique pour la boîte d'information */
.verification-box.info-box {
  border-left: 5px solid #2196f3;
  background-color: #f5f9ff;
}

/* En-tête des cartes */
.verification-header {
  margin-bottom: 20px;
}

.verification-header h2 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verification-header h2 i {
  margin-right: 10px;
  font-size: 1.3em;
}

.verification-header p {
  color: #7f8c8d;
  font-size: 1rem;
}

/* Message d'avertissement */
.warning-message {
  display: flex;
  align-items: center;
  background-color: #fff8e1;
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0;
  text-align: left;
}

.warning-message i {
  color: #ff9800;
  margin-right: 10px;
  font-size: 1.5em;
  flex-shrink: 0;
}

.warning-message p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

/* Contenu de l'email bancaire */
.bank-email-content {
  margin: 20px 0;
  text-align: center;
}

.bank-email-content p {
  color: #34495e;
  margin-bottom: 10px;
  line-height: 1.5;
}

.bank-email {
  font-weight: bold;
  color: #2c3e50;
  font-size: 1.2rem;
  margin: 15px 0;
  display: inline-block;
  background-color: #f0f4f8;
  padding: 8px 15px;
  border-radius: 5px;
  border: 1px dashed #3498db;
}

/* Boutons */
.btn-verify {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  width: 100%;
  font-weight: 600;
}

.btn-verify:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Message de remerciement */
.thank-you-message {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 30px;
  max-width: 500px;
  margin: 20px auto;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

.thank-you-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thank-you-content i {
  color: #2ecc71;
  font-size: 3rem;
  margin-bottom: 20px;
}

.thank-you-content h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.thank-you-content p {
  color: #7f8c8d;
  margin-bottom: 5px;
  font-size: 1rem;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .verification-box {
      padding: 20px;
      margin: 15px;
  }
  
  .verification-header h2 {
      font-size: 1.3rem;
  }
  
  .bank-email {
      font-size: 1rem;
      padding: 6px 12px;
  }
  
  .btn-verify {
      padding: 10px 20px;
  }
}
.back-navigation-warning {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.transfer-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 10000;
  max-width: 300px;
  animation: slideIn 0.5s ease-out;
}

.transfer-notification h4 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.transfer-notification .close-notif {
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  padding: 5px 10px;
  margin-top: 10px;
  border-radius: 3px;
  cursor: pointer;
  float: right;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
/* ===== Styles Support Client ===== */
.support-chat-section {
  background: var(--blanc);
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  padding: 25px;
  margin-bottom: 30px;
}

.chat-container {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.chat-messages {
  height: 400px;
  overflow-y: auto;
  padding: 20px;
  background-color: #f9f9f9;
}

.message {
  margin-bottom: 20px;
  max-width: 80%;
  padding: 15px;
  border-radius: 8px;
  position: relative;
}

.message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: #666;
}

.sender {
  font-weight: 600;
}

.time {
  opacity: 0.8;
}

.client-message {
  background-color: #e3f2fd;
  margin-left: auto;
  border-top-right-radius: 0;
}

.support-message {
  background-color: white;
  border: 1px solid #e0e0e0;
  margin-right: auto;
  border-top-left-radius: 0;
}

.chat-input {
  border-top: 1px solid #e0e0e0;
  padding: 15px;
  background-color: white;
}

.chat-input textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px;
  font-family: inherit;
  font-size: 1rem;
  resize: none;
  margin-bottom: 10px;
  min-height: 80px;
}

.chat-input textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
}

.chat-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.btn-send {
  background-color: var(--orange);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-send:hover {
  background-color: #e67300;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-attach {
  background-color: var(--gris-clair);
  color: var(--texte-fonce);
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-attach:hover {
  background-color: #e0e0e0;
}

/* Section FAQ */
.faq-section {
  background: var(--blanc);
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  padding: 25px;
}

.faq-accordion {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: #f9f9f9;
  border: none;
  padding: 15px 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: var(--bleu-nuit);
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f0f0f0;
}

.faq-question.active {
  background: #e3f2fd;
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
}

.faq-answer.active {
  padding: 15px 20px;
  max-height: 500px;
}

.faq-answer p {
  margin: 0 0 10px 0;
}

.faq-answer ul {
  padding-left: 20px;
  margin: 10px 0;
}

/* Badge en ligne */
.badge.online {
  background-color: #27ae60;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .chat-messages {
      height: 300px;
      padding: 15px;
  }
  
  .message {
      max-width: 90%;
  }
  
  .chat-actions {
      flex-direction: column;
  }
  
  .btn-send, .btn-attach {
      width: 100%;
      justify-content: center;
  }
}

/* Animation pour les nouveaux messages */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.new-message {
  animation: fadeIn 0.3s ease-out;
}
/* Section Témoignages */
.testimonials-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.testimonials-section h2 {
  text-align: center;
  margin-bottom: 15px;
}

.testimonials-section .section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
}

.testimonial-card {
  min-width: 300px;
  scroll-snap-align: start;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 30px;
  margin: 0 10px;
}

.testimonial-content {
  position: relative;
}

.quote-icon {
  color: #4a6bdf;
  font-size: 24px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: bold;
  color: #333;
}

.author-country {
  font-size: 0.9em;
  color: #666;
}

.language-flag {
  display: flex;
  align-items: center;
  gap: 5px;
}

.flag-icon {
  font-size: 24px;
}

.language-name {
  font-size: 0.9em;
  color: #666;
}

.testimonials-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-prev, .testimonial-next {
  background: #4a6bdf;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.testimonial-prev:hover, .testimonial-next:hover {
  background: #3a5bd9;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.testimonial-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}

.testimonial-dots span.active {
  background: #4a6bdf;
}

/* Menu principal */
.main-nav {
  display: none;
}

.main-nav.active {
  display: block;
}

/* Dropdowns */
.nav-dropdown {
  display: none;
  position: absolute;
  z-index: 1000;
  background: white;
  /* autres styles nécessaires */
}

.nav-dropdown.active {
  display: block;
}

/* Version desktop */
@media (min-width: 769px) {
  .main-nav {
      display: block;
  }
  
  .hamburger-btn {
      display: none;
  }
}