/* ── Profile page ─────────────────────────────────── */
.profile-tabs {
  display: flex; gap: 4px; padding: 16px 32px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.profile-tab {
  padding: 8px 20px; border-radius: 6px 6px 0 0;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  color: var(--muted); background: transparent; transition: all 0.15s;
}
.profile-tab.active {
  color: var(--text); background: var(--surface);
  border-color: var(--border); border-bottom-color: var(--surface);
  margin-bottom: -1px;
}
.profile-section { display: none; }
.profile-section.active { display: block; }

.career-textarea {
  width: 100%; min-height: 420px; resize: vertical;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 13px; line-height: 1.7;
  padding: 16px 18px; outline: none; transition: border-color 0.15s;
}
.career-textarea:focus { border-color: var(--accent); }
.career-textarea::placeholder { color: var(--muted); }

/* ── Tag input ────────────────────────────────────── */
.tag-input-wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 6px; padding: 7px 10px; min-height: 40px;
  cursor: text; transition: border-color 0.15s;
}
.tag-input-wrap:focus-within { border-color: var(--accent); }
.tag-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 6px 2px 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text);
}
.tag-chip-remove {
  background: none; border: none; color: var(--muted);
  cursor: pointer; padding: 0; font-size: 12px; line-height: 1;
}
.tag-chip-remove:hover { color: var(--rejected); }
.suggestion-chip {
  display: inline-flex; align-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 12px;
  font-size: 12px; color: var(--text); cursor: pointer; transition: all 0.15s;
}
.suggestion-chip:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.suggestion-chip:disabled { cursor: default; opacity: 0.4; }
.tag-real-input {
  background: none; border: none; outline: none; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  min-width: 120px; flex: 1;
}
.tag-real-input::placeholder { color: var(--muted); }

@media (max-width: 768px) {
  .profile-tabs { padding: 12px 14px 0; }
  .profile-tab { padding: 7px 14px; font-size: 12px; }
}
