:root {
  --public-brand-dark: #111827;
  --public-brand-mid: #1f2937;
  --public-accent: #2563eb;
  --public-success: #198754;
  --public-muted: #6c757d;
  --public-page-max: 960px;
  --public-radius: 0.5rem;
}

body {
  background-color: #f8f9fa;
}

.public-main {
  min-height: calc(100vh - 120px);
}

.public-navbar {
  background: var(--public-brand-dark) !important;
}

.admin-navbar {
  background: var(--public-brand-dark) !important;
}

.admin-body {
  background-color: #f8f9fa;
}

.admin-main {
  min-height: calc(100vh - 56px);
}

.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--public-brand-dark), var(--public-brand-mid));
  color: white;
}

.hero-section .container {
  max-width: 850px;
}

.hero-section p {
  color: #d1d5db;
}

.vote-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  padding: 0;
  list-style: none;
}

.vote-steps li {
  color: var(--public-muted);
  font-size: 0.9rem;
}

.vote-steps li.active {
  color: var(--public-brand-dark);
  font-weight: 600;
}

.vote-steps li.done {
  color: var(--public-success);
}

.public-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.public-breadcrumb a {
  text-decoration: none;
}

.nominee-avatar {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--public-radius);
  flex-shrink: 0;
}

.nominee-avatar-lg {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--public-radius);
}

.admin-thumb-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #dee2e6;
  display: block;
}

.admin-thumb-circle-lg {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #dee2e6;
  display: block;
}

.admin-thumb-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e9ecef;
  border: 2px dashed #ced4da;
  flex-shrink: 0;
}

.admin-thumb-placeholder-lg {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #e9ecef;
  border: 2px dashed #ced4da;
}

@media (max-width: 576px) {
  .btn-voter-primary {
    width: 100%;
  }

  .public-action-row .btn {
    flex: 1 1 100%;
  }
}
