/* ==========================
   RESET & BOX-SIZING
========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Fix Chrome/Edge/Firefox overlay */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* ==========================
   GLOBAL
========================== */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #eaf4ff;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================
   LOGO
========================== */
.logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo-title {
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    color: #222;
}

.logo-title span {
    color: #ffcc00;
}

.baseline {
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
    color: #000;
}

/* ==========================
   HEADER
========================== */
header {
    background: #eaf4ff;
    padding: 10px 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

header .stats {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
}

header .stat {
    font-weight: bold;
    border-radius: 5px;
    padding: 6px 14px;
    font-size: 14px;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    color: #000;
}

/* ==========================
   BANNIERE RESPONSIVE PRO
========================== */
.banner {
    width: 100%;
    height: 35vw;
    min-height: 360px;
    max-height: 520px;
    background-image: url('../banniere.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #1f2f3f;
    overflow: hidden;
    position: relative;
    z-index: 1;
}





/* ==========================
   FOOTER
========================== */


.footer {
   background: #3b4d63;   /* même bleu que la bannière */
  color: #fff;
  border-top: 3px solid #dc3545; /* ✅ fine ligne rouge */
}

.footer h5 {
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #dc3545; /* rappel rouge */
}

.footer p {
  margin: 0;
  font-size: 14px;
}


/* ==========================
   RESPONSIVE TABLETTE
========================== */
@media (max-width: 992px) {
    .banner {
        height: 300px;
        min-height: 300px;
    }

    .search-box {
        padding: 25px;
        margin-top: -40px;
    }

    header {
        padding: 10px 20px;
    }
}




 /* Footer mobile */
    .footer .row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .footer .col-md-4 {
        width: 100%;
    }
}

/* ==========================
   RESPONSIVE PETIT MOBILE
========================== */
@media (max-width: 576px) {
    .logo-title {
        font-size: 20px;
    }

    .baseline {
        font-size: 12px;
    }

    .search-box {
        padding: 15px;
    }

    .search-box h4 {
        font-size: 16px;
    }

    header .stat {
        font-size: 12px;
        padding: 4px 8px;
    }

    table td,
    table th {
        font-size: 12px;
        padding: 4px;
    }
	
	/* Liens dans les cellules de tableau */
table tbody td a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    -webkit-transition: color 0.2s;
    -o-transition: color 0.2s;
    transition: color 0.2s;
}

table tbody td a:hover {
    color: #0066cc;
}

/* Hover sur les lignes */
.table-hover tbody tr {
    -webkit-transition: background 0.2s;
    -o-transition: background 0.2s;
    transition: background 0.2s;
    cursor: pointer;
}

.table-hover tbody tr:hover {
    background: #eaf4ff !important;
}

/* Les boutons dans les tableaux */
table .btn {
    position: relative;
    z-index: 20;
    pointer-events: auto;
}
