/* ===== HEADER ===== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  z-index: 1000;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Agent info */
.status-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #28a745;
  border: 2px solid #fff;
}

.agent-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background-color: #ffc107;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 130%;
  right: 0;
  background-color: #fff;
  color: #000;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 8px;
  overflow: hidden;
  z-index: 2000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Couleurs des boutons */
.dropdown-menu a.service-start { background-color: #28a745; color: #fff; }
.dropdown-menu a.service-end   { background-color: #dc3545; color: #fff; }
.dropdown-menu a.vac-open      { background-color: #17a2b8; color: #fff; }
.dropdown-menu a.vac-close     { background-color: #6f42c1; color: #fff; }

.dropdown-menu a:hover {
  opacity: 0.85;
  transform: translateX(3px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  /*.hamburger { display: flex; }*/
  .header-right { flex-direction: row-reverse; gap: 10px; }
  .dropdown-menu {
    position: fixed;
    top: 60px;
    right: 10px;
    width: 85%;
  }
}

/* Espace sous le header */
body {
  padding-top: 75px;
}

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

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 10px;
  padding: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
@media (max-width: 768px){
  .masquer-mobile {
    display: none !important;
  }
}

