/* Header Styling - Exact Mockup Alignment */
.main-header {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background-color: transparent;
  position: relative;
  z-index: 10;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* Glowing top-left backdrop matching mockup */
.header-left-group::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(158, 240, 26, 0.16) 0%, rgba(8, 12, 9, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.header-profile {
  cursor: pointer;
}

.profile-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: cover;
  display: block;
  transition: all var(--transition-fast);
}

.profile-avatar-img:hover {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.2);
}

.header-greeting {
  display: flex;
  flex-direction: column;
}

.greeting-text {
  font-size: 11px;
  color: var(--text-secondary);
  line-weight: var(--weight-light);
  line-height: 1.2;
}

.user-display-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.user-display-name {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  line-height: 1.3;
}

.pro-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(218, 165, 32, 0.08) 100%);
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: #ffd700;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  vertical-align: middle;
  line-height: 1.4;
}

.pro-badge-pill i {
  font-size: 10px;
  color: #ffd700;
  margin-bottom: 1px;
}

.pro-badge-mini {
  display: inline-flex;
  align-items: center;
  color: #ffd700;
  margin-left: 4px;
  font-size: 12px;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

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

.header-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-fast);
  cursor: pointer;
  font-size: 16px;
}

.header-icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.badge-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 5px;
  height: 5px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
}

@media (max-width: 768px) {
  .main-header {
    margin-bottom: 20px;
    height: auto;
  }
}
