/* ============================================
   CLIENT.CSS - For client area pages
   Header: SOODI GREEN (#00a651) | Hover: ORANGE (#FF8C00)
   ============================================ */

/* ========== HEADER & NAVIGATION ========== */
.client-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 0 20px;
}

.client-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  background: #00a651;
  padding: 15px 25px;
  border-radius: 0 0 20px 20px;
  position: relative;
  overflow: visible;
}

/* Logo Watermark in Header Background */
.client-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background-image: url('../images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.client-menu-left, .client-menu-center, .client-menu-right {
  position: relative;
  z-index: 10;
}

/* Left side - Hamburger Menu */
.client-menu-left {
  position: relative;
  z-index: 999999;
}

.client-hamburger-btn {
  background: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 24px;
  color: #00a651;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 999999;
}

.client-hamburger-btn:hover {
  background: #FF8C00;
  color: white;
  transform: translateY(-2px);
}

/* Dropdown Menu */
.client-dropdown-menu {
  position: absolute;
  top: 60px;
  left: 0;
  background: white;
  min-width: 280px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 9999999;
  display: none;
  overflow: hidden;
  max-height: 80vh;
  overflow-y: auto;
}

.client-dropdown-menu.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.client-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.client-dropdown-menu a i {
  width: 24px;
  font-size: 16px;
  color: #00a651;
}

.client-dropdown-menu a:hover {
  background: #FFF3E0;
  color: #FF8C00;
  padding-left: 25px;
}

.client-dropdown-menu .menu-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 5px 0;
}

/* Center - Logo/Title */
.client-menu-center {
  text-align: center;
}

.client-menu-center h1 {
  margin: 0;
  font-size: 1.4rem;
  color: white;
}

/* Right side - Navigation Links */
.client-menu-right nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.client-menu-right nav a {
  padding: 8px 16px;
  border-radius: 40px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.client-menu-right nav a i {
  font-size: 14px;
}

/* HOVER EFFECT - ORANGE */
.client-menu-right nav a:hover {
  background: #FF8C00 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255,140,0,0.3);
}

/* ACTIVE MENU BUTTON - ORANGE */
.client-menu-right nav a.active {
  background: #FF8C00 !important;
  color: white !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .client-header {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  
  .client-menu-left {
    order: 1;
  }
  
  .client-menu-center {
    order: 2;
    text-align: center;
  }
  
  .client-menu-right {
    order: 3;
  }
  
  .client-menu-right nav {
    justify-content: center;
  }
  
  .client-dropdown-menu {
    top: 50px;
    left: 0;
    right: auto;
    max-width: 280px;
    z-index: 9999999;
  }
  
  .client-header::before {
    width: 700px;
    height: 700px;
    opacity: 0.15;
  }
}

/* Dark mode support for client header */
body.dark-mode .client-menu-right nav a {
  background: #2a2a35;
  color: #e2e8f0;
}

body.dark-mode .client-menu-right nav a:hover {
  background: #FF8C00 !important;
  color: white !important;
}

body.dark-mode .client-dropdown-menu {
  background: #2a2a35;
}

body.dark-mode .client-dropdown-menu a {
  color: #e2e8f0;
  border-bottom-color: #3a3a4a;
}

body.dark-mode .client-dropdown-menu a:hover {
  background: #3a3a4a;
  color: #FF8C00;
}

body.dark-mode .client-hamburger-btn {
  background: #2a2a35;
  color: #00a651;
}

body.dark-mode .client-hamburger-btn:hover {
  background: #FF8C00;
  color: white;
}