/* --------------------------------------
   style.css - IMF Bogo
-----------------------------------------*/


.logo-small-round {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 10px auto !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3) !important;
}

/* Variables de couleurs */
:root {
  --green: #198754;
  --green-dark: #146c43;
  --blue: #004080;
  --blue-dark: #002a52;
  --yellow: #ffc107;
  --yellow-dark: #e0a800;
}

/* --------------------------------------
   Styles généraux
-----------------------------------------*/
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #f8f9fa;
  font-size: 14px;
  margin: 0;
  padding: 0;
  color: #212529;
}

/* --------------------------------------
   Boutons personnalisés
-----------------------------------------*/
.btn-green {
  background-color: var(--green);
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}
.btn-green:hover {
  background-color: var(--green-dark);
}

.btn-blue {
  background-color: var(--blue);
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}
.btn-blue:hover {
  background-color: var(--blue-dark);
}

.btn-yellow {
  background-color: var(--yellow);
  color: #212529;
  border: none;
  transition: background-color 0.3s ease;
}
.btn-yellow:hover {
  background-color: var(--yellow-dark);
}

/* --------------------------------------
   Tableaux
-----------------------------------------*/
.table thead {
  background-color: var(--blue);
  color: #fff;
}

.summary-line {
  background-color: var(--green);
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-top: 15px;
}

/* --------------------------------------
   Logo
-----------------------------------------*/
.logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}

.logo-small-round {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 10px auto;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------
   Section centrale d'accueil (Hero)
-----------------------------------------*/
.hero-container {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-container h1 {
  color: #0C7FB2;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-container p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
}

.hero-container .btn {
  padding: 10px 30px;
  font-size: 1rem;
}

/* --------------------------------------
   Footer
-----------------------------------------*/
footer {
  background-color: #0C7FB2;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  position: relative;
  width: 100%;
}

/* --------------------------------------
   Avertissement retrait (exemple)
-----------------------------------------*/
.withdraw-warning {
  border: 2px solid red !important;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
  background-color: #fff5f5;
}

/* --------------------------------------
   Impressions
-----------------------------------------*/
@media print {
  .no-print {
    display: none !important;
  }
  body {
    font-size: 12px;
  }
  .table thead {
    background-color: var(--blue) !important;
    color: #fff !important;
  }
}

/* --------------------------------------
   Responsive Mobile (max-width: 767px)
-----------------------------------------*/
@media (max-width: 767px) {
  .hero-container h1 {
    font-size: 1.6rem;
  }

  .hero-container p {
    font-size: 0.95rem;
  }

  .hero-container .btn {
    font-size: 0.95rem;
    padding: 8px 24px;
  }

  .logo {
    max-width: 140px;
  }

  footer {
    font-size: 0.8rem;
  }
}


.table tfoot {
    background-color: #e9ecef;
    font-weight: bold;
}

.logo-small-round {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

.bg-success {
    background-color: var(--green) !important;
}

.text-success {
    color: var(--green) !important;
}
