/* ===== Sous-onglets compta ===== */
.compta-tabs {
  display: flex;
  gap: 20px;
  margin: 25px 0 35px 0;
}

.compta-tabs a {
  padding: 10px 18px;
  background-color: #122333;
  border-radius: 8px;
  color: #d0e8f0;
  text-decoration: none;
  font-size: 0.95em;
  transition: 0.3s;
}

.compta-tabs a:hover {
  background-color: #1e3b53;
}

.compta-tabs .active {
  background-color: #00bcd4;
  color: #fff;
}

/* ===== Tableau ===== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.compta-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #10202e;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  border-radius: 10px;
  overflow: hidden;
}

.compta-table th {
  background-color: #0a1826;
  color: #00bcd4;
  padding: 12px;
  font-size: 1em;
  border-bottom: 2px solid #0d2a45;
}

.compta-table td {
  padding: 12px;
  color: #e8f4ff;
  font-size: 0.95em;
  border-bottom: 1px solid #1a3248;
}

.compta-table tr:hover {
  background-color: rgba(0, 188, 212, 0.12);
  transition: 0.2s;
}

/* ===== Bouton export ===== */
.btn-export {
  margin-top: 25px;
  padding: 12px 22px;
  background-color: #0077b6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: 0.3s;
}

.btn-export:hover {
  background-color: #0096c7;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;              /* caché par défaut en mobile */
    flex-direction: column;
    background-color: #0b121a;
    position: absolute;
    top: 80px;                  /* sous le header */
    right: 0;
    left: 0;
    padding: 10px 0;
    z-index: 20;
  }
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: " ▼";
    font-size: 12px;
}

/* Menu déroulant */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0b1b2a;
    padding: 10px 0;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 99;
}

/* Affichage au survol */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Style des liens du dropdown */
.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    color: #ffffff;
    transition: 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #112435;
}
/* Supprimer les puces des listes */
.nav-links,
.nav-links li,
.nav-links ul,
.dropdown-menu,
.dropdown-menu li {
    list-style: none !important;
}


.hero-bandeau {
    background-image: url('/images/bandeau.png?v=<?php echo versionAsset("images/bandeau.png"); ?>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 160px; /* ≈ 4 cm */
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-bandeau .overlay {
    background: rgba(0, 0, 0, 0.3); /* Optionnel : ajoute un filtre sombre */
    height: 100%;
    width: 100%;
}
.btn-action {
    background: linear-gradient(135deg, #00eaff, #00bcd4);
    border: none;
    border-radius: 22px;
    padding: 3px 13px;
    font-weight: 800;
    font-size: 1rem;
    color: #003344;
}
.actu .actu-bouton {
    margin-top: 8px;   /* 👈 remonte visuellement */
    margin-bottom: 12px;
    text-align: center;
}
/* ===============================
   EFFET BRILLANT BOUTON
=============================== */
.btn-action {
    position: relative;
    overflow: hidden;
    transition: 
        box-shadow 0.25s ease,
        transform 0.15s ease;
}

/* ✨ Survol souris */
.btn-action:hover {
    box-shadow: 
        0 0 10px rgba(0, 234, 255, 0.8),
        0 0 12px rgba(0, 234, 255, 0.9);
    transform: translateY(-1px);
}

/* 💥 Clic */
.btn-action:active {
    box-shadow:
        0 0 6px rgba(0, 234, 255, 0.9);
    transform: scale(0.97);
}
