.admin-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  text-align: left;
}

.admin-header-content h1 {
  margin-bottom: 0.35rem;
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.admin-header-content h1::after {
  display: none;
}

.admin-header-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.5;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}

.admin-user-info span {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9rem;
}

.logout-button {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.logout-button:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

.admin-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 2rem;
  padding: 0.35rem;
  background: var(--surface-muted);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: fit-content;
  flex-wrap: wrap;
}

.admin-tab {
  background: transparent;
  border: none;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.admin-tab:hover {
  color: var(--text-main);
}

.admin-tab.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.08);
  border: 1px solid var(--border);
}

.admin-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow);
  animation: fadeInUp 0.6s ease-out;
  min-height: 400px;
}

@media (max-width: 768px) {
  .admin-header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .admin-tabs {
    flex-direction: column;
    width: 100%;
  }

  .admin-tab {
    width: 100%;
    text-align: center;
  }

  .admin-content {
    padding: 1.5rem;
  }
}
