/* Burger Menu - Dark Theme */
.burger-menu-button {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.burger-menu-panel.active ~ .burger-menu-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.burger-menu-button:hover {
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
  transform: scale(1.05);
  border-color: rgba(14, 165, 233, 0.5);
}

.burger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.burger-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger-menu-button:hover .burger-line {
  background: linear-gradient(135deg, #818cf8, #38bdf8);
}

.burger-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.burger-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.burger-menu-panel {
  position: fixed;
  top: 0;
  left: -340px;
  width: 320px;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 0.98) 100%);
  border-right: 1px solid rgba(148, 163, 184, 0.2);
  z-index: 999;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  backdrop-filter: blur(20px);
}

.burger-menu-panel.active {
  left: 0;
}

/* Custom Scrollbar */
.burger-menu-panel::-webkit-scrollbar {
  width: 6px;
}

.burger-menu-panel::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
}

.burger-menu-panel::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 3px;
}

.burger-menu-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

.burger-menu-header {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
  position: relative;
}

.burger-menu-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.15), transparent 50%),
              radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.15), transparent 50%);
  pointer-events: none;
}

.burger-menu-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #818cf8, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.burger-menu-user {
  font-size: 0.875rem;
  color: #cbd5e1;
  opacity: 0.9;
  margin-top: 0.5rem;
  position: relative;
}

.burger-menu-nav {
  padding: 1rem 0;
}

.burger-menu-section {
  margin-bottom: 1.5rem;
}

.burger-menu-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem 0.5rem 1.5rem;
  margin-bottom: 0.25rem;
}

.burger-menu-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.5rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.burger-menu-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #6366f1, #0ea5e9);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.burger-menu-link:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #f8fafc;
  padding-left: 1.75rem;
}

.burger-menu-link:hover::before {
  transform: scaleY(1);
}

.burger-menu-link:hover .burger-menu-icon {
  color: #38bdf8;
  transform: scale(1.1);
}

.burger-menu-link.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent);
  color: #f8fafc;
  font-weight: 600;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #6366f1, #0ea5e9) 1;
}

.burger-menu-link.active .burger-menu-icon {
  color: #38bdf8;
}

.burger-menu-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.burger-menu-badge {
  margin-left: auto;
  padding: 0.25rem 0.625rem;
  font-size: 0.7rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
  color: #f8fafc;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.burger-menu-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  margin-top: auto;
  background: rgba(2, 6, 23, 0.5);
}

@media (min-width: 768px) {
  .burger-menu-panel {
    width: 340px;
    left: -340px;
  }
}

.burger-close-button {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 0.625rem;
  cursor: pointer;
  color: #cbd5e1;
  transition: all 0.2s ease;
  z-index: 10;
}

.burger-close-button:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: rotate(90deg) scale(1.1);
}

.burger-menu-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  background: linear-gradient(135deg, #818cf8, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Company Badge in Menu */
.burger-menu-link .ml-auto {
  margin-left: auto;
}

.burger-menu-link .ml-auto.text-xs {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
  color: white;
  border-radius: 6px;
  font-weight: 600;
}

/* Hover animation for menu items */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.burger-menu-panel.active .burger-menu-link {
  animation: slideInLeft 0.3s ease-out forwards;
}

.burger-menu-panel.active .burger-menu-link:nth-child(1) { animation-delay: 0.05s; }
.burger-menu-panel.active .burger-menu-link:nth-child(2) { animation-delay: 0.1s; }
.burger-menu-panel.active .burger-menu-link:nth-child(3) { animation-delay: 0.15s; }
.burger-menu-panel.active .burger-menu-link:nth-child(4) { animation-delay: 0.2s; }
.burger-menu-panel.active .burger-menu-link:nth-child(5) { animation-delay: 0.25s; }
.burger-menu-panel.active .burger-menu-link:nth-child(6) { animation-delay: 0.3s; }
