﻿:root {
  --radius: 10px;
  --bg: #ffffff;
  --border: #d8d8d8;
  --text: #1f1f1f;
  --muted: #666666;
  --panel: #f6f6f6;
  --accent: #1d4ed8;
}

.theme-dark {
  --bg: #0f1115;
  --border: #2c2f36;
  --text: #f2f4f8;
  --muted: #9ca3af;
  --panel: #1a1d24;
  --accent: #60a5fa;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.is-hidden {
  display: none;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: #f97316;
  padding: 24px 0;
}

.site-header,
.site-header a,
.site-header .brand-text p,
.site-header .brand-text h1,
.site-header .profile-label {
  color: #ffffff;
}

.site-header .brand-mark,
.site-header .profile-button {
  border-color: rgba(255, 255, 255, 0.5);
}

.site-header .profile-button,
.site-header .profile-button .profile-label,
.site-header .profile-button .profile-avatar {
  color: #111111;
}

.site-header .profile-dropdown,
.site-header .profile-dropdown .dropdown-item,
.site-header .profile-dropdown .profile-name,
.site-header .profile-dropdown .profile-email {
  color: #111111;
}

.theme-dark .site-header .profile-button,
.theme-dark .site-header .profile-button .profile-label,
.theme-dark .site-header .profile-button .profile-avatar,
.theme-dark .site-header .profile-dropdown,
.theme-dark .site-header .profile-dropdown .dropdown-item,
.theme-dark .site-header .profile-dropdown .profile-name,
.theme-dark .site-header .profile-dropdown .profile-email {
  color: #ffffff;
}

.theme-dark .site-header .theme-toggle {
  color: #ffffff;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 2px;
}

.brand-text h1 {
  margin: 0;
  font-size: 1.35rem;
}

.brand-text p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.profile-menu {
  position: relative;
}

.role-chip {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111111;
  background: rgba(255, 255, 255, 0.85);
}

.theme-dark .role-chip {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
}

.profile-button {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.profile-avatar {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  display: none;
  gap: 4px;
  padding: 8px;
  z-index: 10;
}

.profile-dropdown.is-open {
  display: grid;
}

.profile-dropdown-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.profile-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-email {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  word-break: break-all;
}

.dropdown-item {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 6px;
  font-size: 0.9rem;
  cursor: pointer;
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--panel);
}

.dropdown-item.danger {
  font-weight: 600;
}

.auth {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.auth-card {
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  display: grid;
  gap: 20px;
  background: var(--bg);
}

.auth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-head h2 {
  margin: 0 0 6px;
}

.auth-head p {
  margin: 0;
  color: var(--muted);
}

.auth-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-tab {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9rem;
}

.auth-tab.is-active {
  border-color: var(--text);
}

.auth-form {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.auth-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-message.is-success {
  color: #1f7a1f;
}

.auth-message.is-error {
  color: #b00020;
}

.hero {
  padding: 48px 0 32px;
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-copy h2 {
  font-size: 2rem;
  margin: 8px 0 12px;
}

.hero-copy p {
  color: var(--muted);
  margin: 0 0 16px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  background: var(--bg);
  border: 1px solid var(--text);
  border-radius: var(--radius);
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
}

.button.ghost {
  border-color: var(--border);
}

.hero-panel {
  border: 1px solid var(--border);
  padding: 20px;
  background: var(--panel);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.label {
  color: var(--muted);
}

.value {
  font-weight: 600;
}

.filters {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.filters h3 {
  margin: 0 0 8px;
}

.section-lead {
  margin: 0 0 20px;
  color: var(--muted);
}

.filter-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

select,
input,
textarea {
  padding: 8px 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius);
}

.candidates {
  padding: 24px 0 48px;
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  border: 1px solid var(--border);
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pill {
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.card-action {
  border: 1px solid var(--text);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
}

.process {
  padding: 40px 0;
  background: var(--panel);
}

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-number {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
}

.profiles {
  padding: 40px 0;
}

.profile-meta {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact {
  padding: 40px 0 56px;
}

.contact-card {
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  display: grid;
  gap: 20px;
  background: var(--bg);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.moderator-panel {
  display: grid;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 20px;
  margin: 24px 0;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.panel-column {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 12px;
  background: var(--bg);
}

.column-head {
  display: grid;
  gap: 8px;
}

.input-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.button.small {
  padding: 6px 10px;
  font-size: 0.85rem;
}

.column-head h3 {
  margin: 0;
  font-size: 1rem;
}

.list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.list-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--bg);
}

.list-item.available {
  border-color: #22c55e;
}

.list-item.unavailable {
  border-color: #ef4444;
}

.list-item button {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.list-item h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.list-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.role-panel {
  padding: 32px 0 40px;
  display: grid;
  gap: 16px;
}

.panel-head h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.panel-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.welcome-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
}

.welcome-spacer {
  flex: 1;
}

.welcome-title {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.welcome-title span {
  color: var(--muted);
  font-size: 1rem;
}

.welcome-label {
  font-weight: 700;
}

.welcome-title h2 {
  margin: 0;
}

.panel-name {
  font-size: 1.6rem;
  color: var(--text);
  margin: 0;
}

.panel-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.status-control {
  display: grid;
  gap: 6px;
  align-items: start;
  justify-items: end;
  position: relative;
}

.status-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: grid;
  gap: 8px;
  justify-items: center;
  background: var(--bg);
}

.status-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.status-select {
  min-width: 180px;
  border-radius: 999px;
  padding: 6px 12px;
}

.status-select.available {
  border-color: #86efac;
  color: #166534;
  background: #dcfce7;
}

.status-select.unavailable {
  border-color: #fecaca;
  color: #991b1b;
  background: #fee2e2;
}

.theme-dark .status-select.available {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
}

.theme-dark .status-select.unavailable {
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.4);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.toggle input {
  display: none;
}

.toggle-track {
  width: 88px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #111111;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111111;
  transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-track {
  background: #ffffff;
  border-color: #111111;
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(66px);
}

.toggle-label {
  font-size: 0.95rem;
  color: var(--text);
}

.theme-dark .toggle-label {
  color: #ffffff;
}

.theme-dark .status-box {
  background: var(--panel);
}

.hiring-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.hiring-inline .status-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.85rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid transparent;
}

.status-pill.hiring {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.status-pill.not-hiring {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.theme-dark .status-pill.hiring {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
}

.theme-dark .status-pill.not-hiring {
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.4);
}

.status-tip {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  padding: 10px 16px;
  background: #111111;
  border: 1px solid #111111;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: #facc15;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  animation: status-pop 6s ease 0.2s forwards;
}

.status-tip::after {
  content: "";
  position: absolute;
  top: -6px;
  right: 12px;
  border-width: 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent #111111;
}

.theme-dark .status-tip {
  background: #0b0b0b;
  border-color: #0b0b0b;
  color: #fde047;
}

.theme-dark .status-tip::after {
  border-color: transparent transparent #0b0b0b;
}

@keyframes status-pop {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  15% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.status-tip-hiring {
  position: relative;
  margin-top: -30px;
  margin-left: 0;
  animation: status-pop-long 10s ease 0.2s forwards;
}

@keyframes status-pop-long {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.panel-head p {
  margin: 0;
  color: var(--muted);
}

.moderator-list {
  display: grid;
  gap: 12px;
}

.panel-body {
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius);
}

.profile-form {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric-card {
  border: 1px solid var(--border);
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius);
}

.metric-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.metric-value {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.profile-summary {
  border: 1px solid var(--border);
  padding: 12px;
  margin-bottom: 12px;
  border-radius: var(--radius);
}

.company-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  background: var(--bg);
}

.company-card p {
  margin: 0 0 8px;
}

.company-actions {
  margin-bottom: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid transparent;
}

.status-pill.available {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.status-pill.unavailable {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.theme-dark .status-pill.available {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
}

.theme-dark .status-pill.unavailable {
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.4);
}

.role-banner {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 8px 12px;
  margin: 0;
  font-size: 0.9rem;
  border-radius: var(--radius);
}

.moderator-card {
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
}

.moderator-card h3 {
  margin: 0;
  font-size: 1rem;
}

.moderator-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.moderator-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.muted {
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-nav {
    flex-wrap: wrap;
  }
}

.theme-toggle {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.theme-dark .theme-toggle {
  background: var(--panel);
}

.theme-indicator {
  width: 28px;
  height: 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  position: relative;
}

.theme-indicator::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text);
  transition: transform 0.2s ease;
}

.theme-dark .theme-indicator::after {
  transform: translateX(12px);
}

.theme-dark .metric-card,
.theme-dark .profile-summary,
.theme-dark .panel-body,
.theme-dark .card,
.theme-dark .auth-card,
.theme-dark .contact-card,
.theme-dark .hero-panel,
.theme-dark .moderator-card,
.theme-dark .profile-dropdown,
.theme-dark .panel-column,
.theme-dark .list-item {
  background: var(--panel);
}

.theme-dark .moderator-panel {
  background: var(--panel);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 50;
}

.modal.is-hidden {
  display: none;
}

.modal-card {
  width: min(520px, 92%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.modal-card.available {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25);
}

.modal-card.unavailable {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.25);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-head h3 {
  margin: 0;
}

.modal-body p {
  margin: 0 0 8px;
}

.highlight-orange {
  background: #fed7aa;
  border-radius: var(--radius);
  padding: 6px 8px;
  color: #111111;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
}

.theme-dark .modal-card {
  background: var(--panel);
}


