@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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



    body {
      font-family: 'Poppins', sans-serif;
      background-color: #f4f7fa;
    }

    /* --- BARRE DE MENU --- */
    header {
      /*background-color: #1e293b; /* Bleu foncé */
      background-color: #17a2b8;
      color: white;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 30px;
      /*height: 80px;*/
    }

    /* --- LOGO À GAUCHE --- */
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo img {
      height: 40px;
      width: auto;
    }

    .logo span {
      font-size: 1.2em;
      font-weight: bold;
    }

    /* --- MENU À DROITE --- */
    nav {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #e7eff3; /* Bleu clair au survol */
    }

    .nav-admin{
      padding: 10px 20px;
      font-size: 20px;
      background: rebeccapurple;
      border-radius: 8px; background: #2d7884;
    }
    .div-logout{
      padding: 10px 20px; 
      background: #2d7884;
      color: #fff;
      font-size: 20px !important;
      border: 0px;
      border-color: #2d7884;
    }

/*.google-visualization-tooltip {
    background-color: #ffffff !important;
    color: white !important;
    border-radius: 5px !important;
    padding: 5px 8px !important;
    font-size: 12px !important;
}*/

/* === Tooltip personnalisé === */
    .google-visualization-tooltip {
        background: #ffffff !important; /* Dégradé bleu élégant */
        color: #fff !important;
        border: none !important;
        border-radius: 10px !important;
        padding: 5px 6px !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
        font-family: "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        opacity: 0.95 !important;
        transition: all 0.2s ease-in-out;
    }

    /* Petite flèche sous la tooltip */
    /*.google-visualization-tooltip:after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: #2a5298 transparent transparent transparent;
    }*/

    /* Optionnel : effet d'apparition douce */
    .google-visualization-tooltip {
        animation: fadeIn 0.2s ease-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 0.95; transform: translateY(0); }
    }


    

@media (max-width: 1368px) {
header {
  padding: 8px 30px;
}
.nav-admin, .div-logout{
      padding: 8px 20px !important;
      font-size: 14px !important;
}
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
header {
  flex-direction: column;
  height: auto;
  padding: 15px;
}
nav {
  /*margin-top: 10px;*/
  flex-wrap: wrap;
  justify-content: center;
}

.div-nav {
  margin-top: 10px;
}
}