/* Recruiter Page CSS */

.profile-card {
  overflow: hidden;
  margin-bottom: 24px;
}

.profile-cover {
  height: 120px;
  background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
  position: relative;
}

.profile-body {
  padding: 0 24px 24px;
  position: relative;
}

.profile-avatar-wrap {
  margin-top: -50px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--card);
  border: 4px solid var(--card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--blue);
  font-size: 32px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
}

.profile-headline {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 8px;
}

.profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.profile-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Recruiter KPIs */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  padding: 16px 20px;
  text-align: center;
}

.kpi-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 4px;
}

.kpi-title {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* Recruiter Layout */
.recruiter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

/* Team member row */
.team-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.team-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.team-info {
  flex: 1;
}

.team-name {
  font-weight: 600;
  font-size: 14px;
}

.team-role {
  font-size: 12px;
  color: var(--muted);
}

/* Toggle Switch */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.toggle-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
}

.toggle-desc {
  font-size: 12px;
  color: var(--muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex: none;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .2s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--blue);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

@media (max-width: 900px) {
  .recruiter-layout {
    grid-template-columns: 1fr;
  }
}
