.profile-layout {
  max-width: 1152px;
  width: 100%;
  margin: 24px auto 32px;
  padding: 0;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.profile-main-loader {
  width: 100%;




  height: calc(100dvh - var(--profile-loader-top, 0px) - 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-primary);
  border-radius: 24px;
}
.profile-main-loader.is-hidden {
  display: none;
}
.profile-main--loading > :not(.profile-main-loader) {
  display: none !important;
}
@media (max-width: 1279px) {
  .profile-main-loader {
    height: calc(100dvh - var(--profile-loader-top, 0px) - 24px);
  }
}
@media (min-width: 1280px) {
  .profile-layout {
    width: 1152px;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
  }
}
.profile-sidebar {
  width: 220px;
  flex: 0 0 220px;
}
.profile-main {
  flex: 0 1 900px;
  min-width: 0;
  max-width: 900px;
  width: 100%;
}
.profile-menu-card {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 8px 16px;
  box-shadow: none;
}
.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-menu-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0px;
  min-height: 40px;
  border-radius: 12px;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--fw-regular);
  color: var(--text-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.profile-menu-link:hover {
  background: transparent;
}
.profile-menu-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888888;
}
.profile-menu-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.profile-menu-link.active {
  background: transparent;
  color: var(--accent-color);
  font-weight: var(--fw-regular);
}
.profile-menu-link.active .profile-menu-icon {
  color: var(--accent-color);
}
.profile-card {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 20px;
  gap: 16px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.profile-card-1 {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 20px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-card-title {
  margin: 0;
  font-size: var(--fs-20);
  line-height: var(--lh-20);
  letter-spacing: var(--ls-20);
  font-weight: var(--fw-medium);
  color: var(--text-color);
}
.profile-card-header-with-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  position: relative;
}
.resume-create-link {
  border: none;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--fw-regular);
  color: var(--accent-color);
  cursor: pointer;
  height: 24px;
  white-space: nowrap;
}
.resume-create-link:hover {
  opacity: 0.9;
}
.resume-create-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.resume-analytics-link {
  border: none;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--fw-regular);
  color: var(--text-color);
  cursor: pointer;
  height: 24px;
  white-space: nowrap;
  text-decoration: none;
  margin-left: auto;
}
.resume-analytics-link:hover {
  color: var(--accent-color);
}
.resume-analytics-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.resume-upload-status {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  color: var(--text-muted);
  margin-bottom: 12px;
}
@media (min-width: 1280px) {
  .resume-upload-status {
    margin-bottom: 0;
  }
}

.resume-create-dropdown {
  top: 32px;
  right: 0;
}
.profile-card-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#resumeListContainer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.resume-card {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 16px;
  border-radius: 22px;
  border: none;
  background-color: var(--surface-primary);
}
.resume-card-shell {
  background: var(--surface-secondary);
  border-radius: 24px;
  padding: 0 2px 2px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.resume-card-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  padding: 8px 18px 8px 16px;
  background: var(--surface-secondary);
  border-radius: 22px 22px 0 0;
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  letter-spacing: var(--ls-12);
  color: var(--text-color);
}
.resume-card-shell-title {
  font-weight: var(--fw-regular);
}
.resume-card-shell-titlewrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.resume-primary-help {
  display: flex;
  align-items: center;
}
.resume-card-shell-header .cv-mode-help-icon {
  width: 16px;
  height: 16px;
}
.resume-card-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.resume-card-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.resume-card-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}
.resume-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resume-card-lang-flag {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--surface-primary);
  border-radius: 50%;
}
.resume-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resume-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.resume-card-info-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.resume-card-name {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  color: var(--text-color);
}
.resume-card-position {
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
}
.resume-card-salary {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  color: var(--text-muted);
}
.resume-card-updated {
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  letter-spacing: var(--ls-12);
  color: var(--text-muted);
}
.resume-card-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.status-badge {
  flex-shrink: 0;
  border-radius: 100px;
  padding: 0 6px;
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  letter-spacing: var(--ls-12);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}
.status-badge--success {
  background: rgba(58, 194, 113, 0.10);
  color: var(--accent-color);
}
.resume-card-actions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.resume-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.resume-card-menu-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0 !important;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resume-card-menu-btn svg {
  display: block;
}
.resume-card-menu-btn.loading {
  pointer-events: none;
  opacity: 0.75;
  cursor: progress;
}
.resume-card-menu-btn .btn-spinner {
  display: none;
  animation: spin 1s linear infinite;
}
.resume-card-menu-btn.loading .btn-spinner {
  display: inline-block;
}
.resume-card-menu-btn.loading .resume-card-menu-icon {
  display: none;
}
html.dark-theme .resume-card-menu-btn svg circle {
  fill: #ffffff;
}

.resume-card-menu-wrapper {
  position: relative;
}
.resume-card-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 160px;
  width: auto;
  z-index: 100;
}
.resume-card-dropdown.open-up {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 4px;
}
.resume-card-dropdown .sort-option-text {
  white-space: nowrap;
}
.resume-card-dropdown .sort-option-danger .sort-option-text {
  color: var(--danger-color, #E23D3E);
}
.resume-card-dropdown .sort-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
.resume-menu-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-color);
}
.resume-menu-option-icon svg {
  display: block;
}
.sort-option-danger .resume-menu-option-icon {
  color: var(--danger-color, #E23D3E);
}
#resumeActionsMobileModal .sort-modal-option {
  justify-content: flex-start;
  gap: 8px;
  cursor: pointer;
}
#resumeActionsMobileModal .sort-option-danger .sort-modal-option-text {
  color: var(--danger-color, #E23D3E);
}
.resume-card-delete-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0 !important;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-secondary);
  color: var(--danger);
}
.resume-card-delete-btn svg path {
  fill: var(--danger);
}
html.dark-theme .resume-card-delete-btn {
  background: #1f1f29;
}
html.dark-theme .resume-card {
  border-color: #32323E;
}

.resume-list-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}
.resume-list-spinner.hidden {
  display: none;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--surface-secondary);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@media (max-width: 1279px) {
  .resume-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 12px;
    border-radius: 14px !important;
  }
  .resume-card-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .resume-card-actions-wrapper {
    width: 100%;
    align-items: stretch;
  }
  .resume-card-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .resume-card-actions {
    width: 100%;
    justify-content: space-between;
  }
  .resume-card-action-btn,
  .resume-card-menu-btn {
    flex: 1;
    justify-content: center;
  }
  .resume-card-menu-wrapper {
    flex: 0 0 auto;
    display: flex;
  }
  .resume-card-shell {
    padding: 0 2px 2px;
    border-radius: 16px;
  }
  .resume-card-shell-header {
    padding: 8px 14px;
    border-radius: 14px 14px 0 0;
  }
}


@media (max-width: 360px) {
  .resume-card-actions {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }


  .resume-card-actions > .btn,
  .resume-card-actions > .resume-card-menu-wrapper {
    flex: 1 1 calc((100% - 16px) / 3);
    min-width: 0;
  }


  .resume-card-menu-btn {
    width: auto;
    min-width: 0;
  }

  .resume-card-menu-wrapper {
    display: flex;
  }

  .resume-card-menu-wrapper .resume-card-menu-btn {
    width: 100%;
    min-width: 0;
  }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.profile-pro-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-pro-container.with-pins {
  display: flex;
}
@media (min-width: 1280px) {
  .profile-pro-container.with-pins {
    flex-direction: row;
    align-items: stretch;
  }
  .profile-pro-container.with-pins > div {
    flex: 1 1 0;
    min-width: 0;
  }
}
.recruiter-pins-card {
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  padding: 16px;
  background: var(--surface-primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
html.dark-theme .recruiter-pins-card {
  border-color: var(--border-light);
}
.recruiter-pins-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.recruiter-pins-title {
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--fw-regular);
  color: var(--text-color);
}
.recruiter-pins-count {
  font-weight: var(--fw-semibold);
}
.recruiter-pins-buy-btn {
  width: 100%;
}

#profileActionsMobile { display: none; }
@media (max-width: 1279px) {
  .profile-actions--desktop { display: none; }
  #profileActionsMobile {
    display: flex;
    align-items: center;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    gap: 0;
  }
  #profileActionsMobile .profile-edit-btn {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 44px;
    margin-left: 0;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .recruiter-pins-card { border-radius: 16px; }
}

#profileEditModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s !important;
}
#profileEditModal.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s linear 0s !important;
}
#profileEditModal .filter-modal {
  width: calc(100% - 32px);
  max-width: 440px;
  max-height: calc(100vh - 80px);
  background-color: var(--surface-primary);
  border-radius: 24px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transform: scale(0.95);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
}
#profileEditModal.visible .filter-modal {
  transform: scale(1);
}
#profileEditModal .filter-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 20px;
  flex-shrink: 0;
}
#profileEditModal .filter-modal-title {
  font-family: var(--font-primary);
  font-size: var(--fs-20);
  line-height: var(--lh-20);
  letter-spacing: var(--ls-20);
  font-weight: var(--fw-semibold);
  color: var(--text-color);
}
#profileEditModal .filter-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background-color: var(--surface-secondary);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#profileEditModal .filter-modal-content {
  padding: 8px 20px 0;
  overflow: visible;
}
#profileEditModal .filter-modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  flex-shrink: 0;
}
.profile-edit-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-edit-avatar-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  z-index: 2;
}
.profile-edit-avatar-btn {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}
.profile-edit-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--surface-secondary, #e9e9e9);
}
.profile-edit-avatar-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.4);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
@media (hover: hover) {
  .profile-edit-avatar-btn:hover .profile-edit-avatar-overlay {
    opacity: 1;
  }
  .profile-edit-avatar-btn:hover .profile-edit-avatar {
    filter: brightness(0.85);
  }
}
.profile-edit-avatar-menu {
  top: calc(100% + 8px);
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(-10px);
  width: 180px;
}
.profile-edit-avatar-menu.show {
  transform: translateX(-50%) translateY(0);
}
.profile-edit-avatar-menu .sort-option-danger .sort-option-text {
  color: var(--danger-color, #E23D3E);
}
.profile-edit-fields {
  width: 100%;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-edit-fields .floating-field .input {
  margin-bottom: 0;
  max-width: none;
}
.profile-edit-modal .filter-modal-footer .btn,
#profileEditModal .filter-modal-footer .btn {
  width: 100%;
}
@media (max-width: 1279px) {
  #profileEditModal {
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 16px;
  }
  #profileEditModal .filter-modal {
    width: calc(100% - 32px);
    max-width: 600px;
    margin: 0 auto;
    height: auto;
    max-height: calc(100% - 32px);
    border-radius: 24px;
    transform: translateY(100%);
  }
  #profileEditModal.visible .filter-modal {
    transform: translateY(0);
  }
}
.profile-tabs-chips {
  display: none;
  margin-bottom: 8px;
  max-width: 600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1279px) {
  .profile-layout {
    flex-direction: column;
    gap: 0;
    margin: 0 auto 32px;
    max-width: 600px;
    width: 100%;
  }
  .profile-sidebar {
    display: none;
  }
  .profile-main {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .profile-tabs-chips {
    display: block;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .profile-tabs-chips .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .profile-tabs-chips .filter-chips::-webkit-scrollbar {
    display: none;
  }
  .profile-tabs-chips .filter-chip {
    flex-shrink: 0;
  }
  .profile-card,
  .profile-menu-card {
    padding: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    gap: 0px;
  }
  .profile-card-1 {
    padding: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    gap: 16px;
  }

  .profile-card-title { display: none; }
  .profile-card-2 .profile-card-title { display: block; }
  .resume-card {
    border-radius: 16px;
  }
}

.cv-block-desktop { display: block; }
.cv-block-mobile { display: none; }
@media (max-width: 1279px) {
  .cv-block-desktop { display: none; }
  .cv-block-mobile { display: block; }
}


.profile-tabs-chips .filter-chips a.filter-chip { text-decoration: none; }
.profile-tabs-chips .filter-chip { background: var(--surface-primary); }
html.dark-theme .profile-tabs-chips .filter-chip { background: var(--surface-primary); }
.profile-tabs-chips .filter-chip.active { background: var(--accent-color); color: var(--surface-primary); }
html.dark-theme .profile-tabs-chips .filter-chip.active { background: var(--accent-color); color: var(--surface-primary); }

.profile-mobile-title { display: none; }
@media (max-width: 1279px) {
  .profile-mobile-title {
    display: block;
    margin: 24px auto 16px;
    max-width: 600px;
    width: 100%;
    font-size: var(--fs-24);
    line-height: var(--lh-24);
    letter-spacing: var(--ls-24);
    font-weight: var(--fw-semibold);
    color: var(--text-color);
  }
}

.resume-mobile-actions {
  display: none;
}
.resume-analytics-btn-mobile {
  gap: 6px;
  white-space: nowrap;
}
.resume-create-btn-mobile {
  display: none;
}
@media (max-width: 1279px) {
  .resume-create-link,
  .resume-analytics-link {
    display: none;
  }
  .resume-mobile-actions {
    display: flex;
    width: 100%;
    gap: 8px;
  }
  .resume-mobile-actions .btn {
    flex: 1 1 0;
  }
  .resume-create-btn-mobile {
    display: block;
    width: 100%;
  }
}

.resume-card-primary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-card-primary-desktop {
  display: none;
}
.resume-card-primary-mobile {
  display: flex;
}
.resume-card-avatar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

@media (min-width: 1280px) {
  .resume-card-primary-desktop {
    display: flex;
  }
  .resume-card-primary-mobile {
    display: none;
  }
  .resume-card-avatar-header {
    display: flex;
    gap: 16px;
    width: auto;
    justify-content: flex-start;
    align-items: flex-start;
  }
}
.resume-card-primary-label {
  color: var(--text-color);
  font-size: 14px;
  font-weight: var(--fw-regular, 400);
}

.resume-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px 12px;
  gap: 16px;
  width: 420px;
  max-width: 100%;
  margin: 0 auto;
}
.resume-empty-illustration {
  color: var(--text-color);
}
.resume-empty-text {
  color: var(--text-color);
  text-align: center;
  font-size: 16px;
  line-height: var(--lh-16);
  margin: 0;
}
.resume-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.resume-empty-actions .btn {
  width: 100%;
}
.resume-empty-create-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
}
.resume-empty-create-row .btn {
  flex: 1;
}
.resume-empty-actions .btn:disabled,
.resume-create-btn-mobile:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.resume-empty-hint {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.profile-card.no-resumes .resume-create-link,
.profile-card.no-resumes .resume-create-btn-mobile {
  display: none;
}
.profile-card.no-resumes + .resume-linkedin-cta {
  display: none;
}
.profile-card.no-resumes .resume-mobile-actions {
  display: none;
}
.resume-linkedin-cta {
  margin-top: 16px;
}
.resume-linkedin-cta .article-product-cta {
  margin: 0 !important;
}
@media (max-width: 1279px) {
  .resume-empty-state {
    padding: 0 12px 16px;
    width: 100%;
    margin: 0;
  }
  .profile-card.no-resumes {
    gap: 0;
  }
}

html:not(.dark-theme) .toast {
  box-shadow: 0px 4px 12px 6px #0000000F;
}
@media (min-width: 1280px) {
  .resume-create-btn-mobile {
    display: none !important;
  }
}

.profile-card-2 {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 20px;
  margin-top: 16px;
}

.recruiter-profile-sections {
  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: 24px;
  row-gap: 18px;
  align-items: start;
}
@media (min-width: 1280px) {

  .recruiter-profile-sections {
    grid-template-columns: 240px 1fr;
  }
  .recruiter-profile-section-fields {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
  }
}
.recruiter-profile-title { margin: 0; }
.recruiter-profile-subtitle {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  font-weight: var(--fw-regular);
  color: var(--text-muted);
}
.recruiter-profile-section-fields {
  min-width: 0;
}
.recruiter-profile-section-fields .input {
  max-width: 100%;
  margin-bottom: 0;
}
.recruiter-profile-section-fields .resume-select {
  width: 100%;
}
.recruiter-profile-section-fields .resume-select.inline-input {
  cursor: text;
}
.recruiter-profile-section-fields .resume-select.inline-input .resume-select-input {
  position: absolute;
  left: 16px;
  right: 40px;
  top: 9px;
  bottom: 0;
  height: 44px;
  padding: 12px 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  color: var(--text-color);
  outline: none;
  margin: 0;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}
.recruiter-profile-section-fields .resume-select.inline-input.placeholder .resume-select-input {
  color: var(--placeholder-color);
}
.recruiter-profile-section-fields .resume-select.drop-up .resume-select-dropdown {
  top: auto;
  bottom: calc(100% + 4px);
}
.recruiter-profile-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.recruiter-profile-one-col {
  display: block;
}
@media (max-width: 1279px) {
  .recruiter-profile-sections {
    grid-template-columns: 1fr;



    row-gap: 8px;
  }
  .recruiter-profile-section-fields + .recruiter-profile-section-label {
    margin-top: 8px;
  }
  .recruiter-profile-two-cols {
    grid-template-columns: 1fr;
  }

  .recruiter-profile-name-two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recruiter-profile-contacts-two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.theme-settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.theme-options {
  display: flex;
  gap: 12px;
}
.theme-option {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  align-items: flex-start;
  flex: 1 1 0;
  min-width: 0;
}
.theme-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.theme-option-preview {
  display: block;
  width: 100%;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
  box-sizing: border-box;
}
.theme-option-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: var(--surface-secondary);
}
.theme-option-input:checked + .theme-option-preview {
  box-shadow: 0 0 0 2px var(--accent-color);
}
.theme-option-name {
  font-family: var(--font-primary);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-14);
  line-height: var(--lh-14);
  font-weight: var(--fw-regular);
  color: var(--text-color);
  text-align: left;
  width: 100%;
}
@media (max-width: 1279px) {
  .theme-settings-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #themeSection .profile-card-title {
    margin-bottom: 0;
  }
  .theme-option-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 2772 / 1680;
    object-fit: contain;
    border-radius: 0;
    background: var(--surface-secondary);
  }
  .theme-options {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .theme-option {
    width: 100%;
  }
  .theme-option-preview {
    width: 100%;
    height: auto;
    max-height: none;
  }
}
@media (min-width: 1280px) {

  .theme-options {
    width: 540px;
  }
}
.referral-benefits {
  margin-bottom: 16px;
}
.referral-link-section {
  width: 100%;
}
.referral-input-wrap {
  position: relative;
}
.referral-link-input {
  padding-right: 44px;
  pointer-events: none;
  user-select: none;
  margin-bottom: 4px;
}
@media (min-width: 1280px) {
  .referral-link-input {
    max-width: none;
  }
}
.referral-copy-btn {
  position: absolute;
  right: 12px;
  top: 10px;
  transform: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.referral-copy-btn:hover {
  color: var(--accent-color);
}
.referral-copy-btn:focus {
  outline: none;
}
.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}
.referral-stat-item {
  background: var(--surface-secondary);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}
.referral-stat-value {
  display: block;
  font-size: var(--fs-20);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-20);
  color: var(--text-color);
}
.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 {
  stroke: 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;
}
