/* Header Styles */
.header-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  height: 60px;
}

.header-container .container {
  height: 100%;
}

.header-container .container > div {
  height: 100%;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-image {
  height: 45px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: opacity 0.2s ease;
  display: block;
}

.logo-image:hover {
  opacity: 0.9;
}

/* User Navigation */
.user-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-greeting {
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Role Badges */
.role-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.admin-badge {
  background-color: #dc2626;
  color: white;
}

.agent-badge {
  background-color: #16a34a;
  color: white;
}

/* Navigation Links */
.admin-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.admin-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.logout-btn {
  background-color: #dc2626;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.logout-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .user-nav {
    gap: 0.5rem;
  }
  
  .user-greeting {
    display: none;
  }
  
  .logo-image {
    height: 38px;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .user-nav {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .admin-link {
    font-size: 0.75rem;
  }
  
  .logout-btn {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }
}
