body {
    margin: 0;
    font-family: "Arial", sans-serif;
    background: #fff;
    color: #000;
  }

  .site-header {
    /*background: #ff001a;*/
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    /*position: sticky; *//* ou fixed si tu veux le voir en permanence */
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-header img{
	  height: auto;
  margin-right: 10px;
  }
  .captive_portal_desc{
  color: black;
  font-weight: bold;
  font-size: 1.5rem;
  }
  
  
  #app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /*padding-bottom: 60px; /* hauteur du footer pour laisser de l’espace */
}
  
  #content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    padding-bottom:5rem !important;
  }
  
  .page {
    display: none;
  }
  
  .page.active {
    display: block;
  }
  
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #000;
    border-top: 2px solid #ff001a;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999; /* pour rester au-dessus */
  }
  
  .nav-item {
    flex: 1;
    text-align: center;
    padding: 0.3rem 0;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
  }
  
  .nav-item img {
    height: 24px;
    margin-bottom: 4px;
    filter: invert(1);
  }
  
  .nav-item.active {
    color: #ff001a;
  }
  
  .btn-orange {
    display: block;
    width: 100%;
    background-color: #ff001a;
    border: none;
    color: #fff;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 16px;
    border-radius: 8px;
  }
  
  .btn-orange-outline {
    display: block;
    width: 100%;
    background-color: transparent;
    border: 2px solid #ff001a;
    color: #ff001a;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 16px;
    border-radius: 8px;
  }
  .account-suggestion-card {
    background: #fffaf4;
    border: 1px solid #ffd9b3;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.1);
    margin-top: 1rem;
    transition: box-shadow 0.2s ease-in-out;
  }
  
  .account-suggestion-card:hover {
    box-shadow: 0 6px 18px rgba(255, 165, 0, 0.15);
  }
  
  .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  .card-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ff6600;
  }
  
  .card-content p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #444;
  }
  
  .card-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    color: #555;
  }
  
  .card-content ul li::before {
    content: "✔️";
    margin-right: 0.5rem;
  }
  
  .btn-download {
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  
  .btn-download:hover {
    background-color: #e25500;
  }
  .store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    margin-top: 0.5rem;
  }
  
  .store-buttons a {
    display: inline-block;
  }
  
  .store-buttons img {
    height: 45px;
    transition: transform 0.2s ease;
  }
  
  .store-buttons img:hover {
    transform: scale(1.05);
  }
  .store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .store-buttons a img {
    height: 60px;
    transition: transform 0.2s ease;
  }
  
  .store-buttons a:hover img {
    transform: scale(1.05);
  }  
  .text-3xl{
    /*font-size: 1.875rem;*/
    font-size:1.5rem; 
    line-height: 2.25rem;
    font-weight: 700;
  }
  .btn-outline-primary{
    background: black;
    border-radius: 2rem;
    color: white;
    border: 0px;
  }
  .packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }
  .text-sm{
    font-size: .875rem;
    line-height: 1.25rem;
  }
  
  .package-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .package-card h3 {
    color: #ff001a;
    margin-top: 0;
  }
  
  .package-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
  }
  
  .package-card li {
    background: #f5f5f5;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
  }  
  .tabs {
    display: flex;
    margin-bottom: 1rem;
  }
  
  .tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
  }
  
  .tab-btn.active {
    color: #ff001a;
    font-weight: bold;
    border-bottom: 2px solid #ff001a;
  }
  
  .tab-content {
    display: none;
  }
  
  .tab-content.active {
    display: block;
  }
 /* Onglets internes dans Accueil */
.tabs {
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
  }
  
  .tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    color: #333;
    border-bottom: 2px solid transparent;
    text-align: center;
  }
  
  .tab-btn.active {
    color: #ff001a;
    font-weight: bold;
    border-bottom: 2px solid #ff001a;
  }
  
  .tab-content {
    display: none;
  }
  
  .tab-content.active {
    display: block;
  }

  .btn-outline-orange {
    border: 2px solid #ff6600;
    color: #ff6600;
    background-color: transparent;
    transition: all 0.3s ease;
  }
  
  .btn-outline-orange:hover {
    background-color: #ff6600;
    color: white;
  }
  
.alert-red{
    color: red;
    text-align: center;
    height: 2.5em;
    line-height: 2.5em;
    border: 3px solid;
}  
  /* Responsive Design : petit écran d'abord */
form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.5rem;
  }
  
  label {
    font-size: 0.9rem;
    color: #333;
  }
  
  input[type="text"],
  input[type="password"] {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0; /* Carré */
  }
  
  button {
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0; /* Carré */
  }
  
  .btn-orange {
    background-color: #ff001a;
    color: white;
    border: none;
    margin-top: 0.5rem;
    border-radius: 0; /* Carré */
  }
  
  .btn-orange-outline {
    background-color: transparent;
    border: 2px solid #ff001a;
    color: #ff001a;
    border-radius: 0; /* Carré */
  }
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
  }
  
  .nav-item {
    flex: 1;
    text-align: center;
    height:64px;
    color: #000;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: normal;
    padding: 0.2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .nav-item .icon {
    width: 24px;
    height: 24px;
    stroke: #000;
    transition: stroke 0.3s ease;
  }
  
  .nav-item.active .icon {
    stroke: #ff001a;
  }
  
  .nav-item small {
    margin-top: 4px;
  }
  
  .nav-item .active-indicator {
    display: none;
    width: 100%;
    height: 4px;
    background-color: #ff001a;
    position: absolute;
    top: 0; /* <-- au lieu de bottom: 0 */
    left: 0;
    border-radius: 2px 2px 0 0;
  }
  
  .nav-item.active .active-indicator {
    display: block;
  }
  
  
  @media (min-width: 600px) {
    form {
      /*max-width: 400px;*/
      margin: auto;
    }
  
    .tabs {
      justify-content: center;
    }
  
    .tab-btn {
      max-width: 200px;
    }
  }
  .etapes {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 0.8rem;
    text-align: center;
    border-bottom: 1px solid #ccc;
  }
  .etape {
    flex: 1;
    padding: 0.5rem;
    position: relative;
    color: #666;
  }
  .etape.active {
    color: #ff001a;
    font-weight: bold;
  }
  .etape::after {
    content: "";
    display: block;
    width: 80%;
    height: 3px;
    background: #ccc;
    margin: 5px auto 0;
  }

  .etape.active::after {
    background: #ff001a;
  }
  .paiement-options {
    display: flex;
    gap: 1rem;
    flex-direction: column;
  }
  
  .paiement-btn {
    background-color: #fff;
    border: 2px solid #ff001a;
    color: #ff001a;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .paiement-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .otp-hint {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #333;
  }
  
  .otp-input-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
  }
  
  .otp-digit {
    width: 4rem;
    height: 4rem;
    font-size: 3rem !important;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ff001a;
    border-radius: 0.5rem;
  }
  .input-field {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
  }
  
  .input-field:focus {
    border-color: #ff001a;
    outline: none;
  }
  .payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .payment-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: white;
    border: none;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
    position: relative;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
  }
  
  .payment-btn .icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.25rem;
  }
  
  .payment-btn .active-indicator {
    position: absolute;
    top: 0;
    height: 4px;
    width: 100%;
    background-color: #ff001a;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    display: none;
  }
  
  .payment-btn.active .active-indicator {
    display: block;
  }
  
  .payment-btn.active {
    font-weight: bold;
    color: #ff001a;
  }
  
  .payment-btn.disabled {
    opacity: 0.5;
    pointer-events: auto;
  }

  @media (min-width: 768px) {
    body {
      max-width: 500px;
      margin: auto;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 20px;
      background: #fff;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
  
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      max-width: 500px;
      margin: auto;
    }
  }
  .me-auto .card-title{
    font-weight: bold;
    font-size: 1rem;
  }
  .me-auto .card-text{
    font-size: .8rem;
    color:#AAA;
    line-height: 1.25rem;
  }
 /* Style du bouton */
.btn-paiement {
    padding: 10px 20px;
    background-color: #FFA500; /* Couleur Orange */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-paiement:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Loader */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FFA500; /* Couleur Orange */
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

/* CSS DU BANNER */
.app-banner {
  position: fixed;
  bottom: 0; /* tu peux mettre top:0 si tu veux en haut */
  left: 0;
  right: 0;
  background: #ff001a;
  color: white;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  font-family: sans-serif;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banner-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.banner-text {
  font-size: 0.9rem;
  line-height: 1.2;
}

.banner-buttons {
  display: flex;
  gap: 0.5rem;
}

.banner-buttons .btn-download {
  background: white;
  color: #ff001a;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.2s;
}

.banner-buttons .btn-download:hover {
  background: #f5f5f5;
}

.banner-close {
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: 0.5rem;
}
