body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Segoe UI', sans-serif;
}

.container {
  background-color: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Golden recruiter CTA on login screen */
.btn-recruiter-gold {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1200;
  border: 1px solid #f0d78c;
  background: linear-gradient(180deg, #ffe9a8 0%, #d4a017 45%, #b8860b 100%);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.25),
    0 4px 14px rgba(212, 160, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-recruiter-gold:hover,
.btn-recruiter-gold:focus {
  color: #120c00;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.4),
    0 6px 18px rgba(212, 160, 23, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-recruiter-gold:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.link-recruiter {
  color: #f0d78c;
  text-decoration: none;
}

.link-recruiter:hover {
  color: #ffe9a8;
  text-decoration: underline;
}

/* Drag-and-drop reordering */
.col-drag {
  width: 2.25rem;
}

.drag-handle {
  cursor: grab;
  user-select: none;
  color: #9e9e9e;
  text-align: center;
  vertical-align: middle;
  width: 2.25rem;
  font-size: 1.1rem;
  line-height: 1;
}

.drag-handle:active {
  cursor: grabbing;
}

.sortable-ghost {
  opacity: 0.45;
  background-color: #2a2a2a !important;
}

.sortable-chosen {
  background-color: #333 !important;
}

.sortable-drag {
  opacity: 1;
  background-color: #2c2c2c !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* ========== Share card (PNG export template) ========== */
/* Kept off-screen so it never affects layout; still fully rendered for html-to-image. */
#share-card-wrapper {
  position: fixed;
  left: -9999px;
  top: 0;
  z-index: -1;
  pointer-events: none;
}

.share-card {
  box-sizing: border-box;
  width: 720px;
  padding: 40px 44px 32px;
  background: linear-gradient(165deg, #1a1a22 0%, #121218 55%, #0e0e14 100%);
  color: #f0f0f5;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.share-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6c5ce7 0%, #a29bfe 40%, #00cec9 100%);
}

.share-card__header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.share-card__brand {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a29bfe;
}

.share-card__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

.share-card__username {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: #9e9eab;
}

.share-card__username:empty {
  display: none;
}

.share-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.share-card__item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.share-card__item:last-child {
  border-bottom: none;
}

.share-card__rank {
  flex: 0 0 36px;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #a29bfe;
  text-align: right;
}

.share-card__item-body {
  flex: 1;
  min-width: 0;
}

.share-card__item-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #f5f5fa;
  line-height: 1.3;
  word-break: break-word;
}

.share-card__item-meta {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #8a8a9a;
}

.share-card__footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.share-card__footer-site {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #6e6e80;
}

/* Light variant (toggle via .share-card--light on #share-card if desired) */
.share-card--light {
  background: linear-gradient(165deg, #ffffff 0%, #f4f4f8 100%);
  color: #1a1a22;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.share-card--light .share-card__title {
  color: #121218;
}

.share-card--light .share-card__username,
.share-card--light .share-card__item-meta {
  color: #6e6e80;
}

.share-card--light .share-card__item-title {
  color: #1a1a22;
}

.share-card--light .share-card__header,
.share-card--light .share-card__footer,
.share-card--light .share-card__item {
  border-color: rgba(0, 0, 0, 0.08);
}

.share-card--light .share-card__footer-site {
  color: #9e9eab;
}

/* CSV import modal */
.csv-import-errors {
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.csv-import-errors li {
  margin-bottom: 0.4rem;
}

.csv-import-errors code {
  color: #f0d78c;
  font-size: 0.85em;
}

.csv-import-preview {
  padding-left: 1.25rem;
  font-size: 0.95rem;
}

.csv-import-preview li {
  margin-bottom: 0.35rem;
}