.referral-stat-label {
  display: block;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  color: var(--text-muted);
}

.referral-invited-section .applications-table-container {
  background: var(--surface-primary);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--filter-divider);
  width: 100%;
}
.referral-invited-section .applications-table-container .applications-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  table-layout: fixed;
}
.referral-invited-section .applications-table-container .applications-table thead {
  background: var(--surface-secondary);
}
.referral-invited-section .applications-table-container .applications-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  border: none;
  border-bottom: 1px solid var(--filter-divider);
}
.referral-invited-section .applications-table-container .applications-table th:nth-child(1),
.referral-invited-section .applications-table-container .applications-table td:nth-child(1) { width: 40%; }
.referral-invited-section .applications-table-container .applications-table th:nth-child(2),
.referral-invited-section .applications-table-container .applications-table td:nth-child(2) { width: 20%; }
.referral-invited-section .applications-table-container .applications-table th:nth-child(3),
.referral-invited-section .applications-table-container .applications-table td:nth-child(3) { width: 20%; }
.referral-invited-section .applications-table-container .applications-table th:first-child {
  border-top-left-radius: 20px;
}
.referral-invited-section .applications-table-container .applications-table th:last-child {
  border-top-right-radius: 20px;
}
.referral-invited-section .applications-table-container .applications-table td {
  padding: 16px;
  font-size: var(--fs-14);
  font-weight: var(--fw-regular);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  color: var(--text-color);
  border: none;
  border-bottom: 1px solid var(--filter-divider);
  vertical-align: middle;
}
.referral-invited-section .applications-table-container .applications-table tbody tr:last-child td {
  border-bottom: none;
}
.referral-invited-section .applications-table-container .applications-table tbody tr:hover {
  background: var(--hover-light);
}
html.dark-theme .referral-invited-section .applications-table-container {
  background: var(--surface-primary);
  border-color: var(--filter-divider);
}
html.dark-theme .referral-invited-section .applications-table-container .applications-table thead {
  background: var(--surface-secondary);
}

.referral-invited-section .applications-table th:nth-child(2),
.referral-invited-section .applications-table th:nth-child(3),
.referral-invited-section .applications-table td:nth-child(2),
.referral-invited-section .applications-table td:nth-child(3) {
  text-align: right;
}
.referral-invited-table {
  width: 100%;
  border-collapse: collapse;
}
.referral-invited-table th,
.referral-invited-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--filter-divider);
}
.referral-invited-table th {
  font-weight: var(--fw-medium);
  color: var(--text-color);
  background: var(--surface-secondary);
  border-radius: 8px 8px 0 0;
}
.referral-invited-table td {
  color: var(--text-color);
}
.referral-invited-table tr:last-child td {
  border-bottom: none;
}
.referral-invited-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: var(--surface-secondary);
  border-radius: 12px;
}
.referral-invited-date {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  color: var(--text-color);
}
.referral-invited-status {
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  padding: 4px 8px;
  border-radius: 6px;
}
.referral-invited-status.paid {
  background: rgba(58, 194, 113, 0.15);
  color: var(--success-color);
}
.referral-invited-status.pending {
  background: var(--surface-secondary);
  color: var(--text-muted);
  border: 1px solid var(--filter-divider);
}
.referral-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0 0 0;
  text-align: center;
  gap: 12px;
  margin-bottom: 8px;
}
.referral-empty-illustration {
  display: none;
}
.referral-empty-text {
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  color: var(--text-color);
  margin: 0;
}
@media (min-width: 1280px) {
  .referral-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 12px 16px;
  }
  .referral-stat-value {
    order: 2;
  }
  .referral-stat-label {
    order: 1;
    margin-top: 0;
    text-align: left;
  }
}
@media (max-width: 1279px) {
  .profile-card-2 {
    padding: 16px;
  }
  .referrer-block {
    flex-direction: column;
    align-items: stretch;
  }
  .referrer-block .profile-info {
    width: 100%;
  }
  #unlinkReferrerBtn {
    width: 100%;
  }
  .referral-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 4px;
  }
  .referral-invited-section .applications-table-container .applications-table th {
    padding: 12px 16px;
  }
  .referral-stats .referral-stat-item:nth-child(1),
  .referral-stats .referral-stat-item:nth-child(2) {
    grid-row: 1;
  }
  .referral-stats .referral-stat-item:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .referral-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 10px 12px;
  }
  .referral-stat-value {
    font-size: var(--fs-16);
    order: 2;
  }
  .referral-stat-label {
    margin-top: 0;
    order: 1;
  }
  #referralEmptyCopyBtn {
    width: 100%;
  }
}

.profile-card-2 .profile-card-title {
  margin-bottom: 16px;
}
.saved-filters-card .profile-card-title {
  margin-bottom: 0;
}
.saved-filters-heading {
  min-width: 0;
}
.saved-filters-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.saved-filters-list {
  display: grid;
  gap: 12px;
}
.saved-filters-list:not(:empty) {
  margin-top: 16px;
}
.saved-filters-status {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--fw-regular);
}
.saved-filters-status:empty {
  display: none;
}
.saved-filter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--filter-divider);
  border-radius: 16px;
  padding: 14px;
}
.saved-filter-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.saved-filter-card-title {
  color: var(--text-color);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--fw-medium);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.saved-filter-status:not(.status-badge--success) {
  background: var(--surface-secondary);
  color: var(--text-muted);
}
.saved-filter-summary,
.saved-filter-meta {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--fw-regular);
}
.saved-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.saved-filter-actions .btn {
  border: none;
  border-radius: 16px;
  background: var(--surface-secondary);
  color: var(--text-color);
  padding: 0;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--fw-semibold);
}
.saved-filter-actions .btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.saved-filter-delete-btn {
  color: var(--danger) !important;
}
.saved-filter-delete-btn svg path {
  fill: var(--danger) !important;
}
.saved-filter-actions .btn:hover {
  background: var(--hover-light);
}
@media (max-width: 1279px) {
  .saved-filters-header,
  .saved-filter-card,
  .saved-filter-actions {
    align-items: stretch;
  }
  .saved-filters-header {
    flex-direction: column;
  }
  .saved-filter-actions .btn {
    width: 100%;
  }
  .saved-filter-card {
    grid-template-columns: 1fr;
  }
  .saved-filter-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

.recruiter-profile-section-label .profile-card-title {
  margin-bottom: 0;
}

.referrer-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.referrer-block .profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.referrer-block .profile-name {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  color: var(--text-muted);
  font-weight: var(--fw-regular);
}
.referrer-block .profile-email {
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  color: var(--text-color);
  font-weight: var(--fw-medium);
}
.referrer-divider {
  height: 1px;
  background: var(--filter-divider);
  margin: 16px 0;
}
