.resume-edit-page textarea.text-area {
  margin-bottom: 12px;
}

.resume-select {
  position: relative;
  border-radius: 16px;
  background: var(--surface-secondary);
  cursor: pointer;
  padding: 10px 40px 10px 16px;
  height: 44px;
  box-sizing: border-box;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
}

.resume-select .resume-select-value {
  position: absolute;
  left: 16px;
  right: 40px;
  top: 19px;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resume-select .floating-label {
  position: absolute;
  left: 16px;
  top: 12px;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  color: var(--placeholder-color);
  pointer-events: none;
  transition: all 0.2s ease;
}

.resume-select .floating-label.active {
  top: 4px;
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  letter-spacing: var(--ls-12);
  opacity: 0.9;
}

.resume-select::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.18762 8.20419C5.30791 8.08405 5.47096 8.01657 5.64097 8.01657C5.81098 8.01657 5.97403 8.08405 6.09432 8.20419L11.8425 13.9523L17.5906 8.20419C17.6493 8.14116 17.7202 8.0906 17.7989 8.05554C17.8776 8.02047 17.9625 8.00162 18.0486 8.0001C18.1348 7.99858 18.2203 8.01443 18.3002 8.04669C18.3801 8.07896 18.4527 8.12698 18.5136 8.1879C18.5745 8.24882 18.6225 8.32139 18.6548 8.40127C18.6871 8.48115 18.7029 8.56671 18.7014 8.65285C18.6999 8.73899 18.681 8.82394 18.646 8.90264C18.6109 8.98133 18.5603 9.05216 18.4973 9.11089L12.2958 15.3124C12.1755 15.4325 12.0125 15.5 11.8425 15.5C11.6725 15.5 11.5094 15.4325 11.3891 15.3124L5.18762 9.11089C5.06748 8.9906 5 8.82754 5 8.65754C5 8.48753 5.06748 8.32447 5.18762 8.20419Z' fill='%23121212'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  pointer-events: none;
}

html.dark-theme .resume-select::after {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.18762 8.20419C5.30791 8.08405 5.47096 8.01657 5.64097 8.01657C5.81098 8.01657 5.97403 8.08405 6.09432 8.20419L11.8425 13.9523L17.5906 8.20419C17.6493 8.14116 17.7202 8.0906 17.7989 8.05554C17.8776 8.02047 17.9625 8.00162 18.0486 8.0001C18.1348 7.99858 18.2203 8.01443 18.3002 8.04669C18.3801 8.07896 18.4527 8.12698 18.5136 8.1879C18.5745 8.24882 18.6225 8.32139 18.6548 8.40127C18.6871 8.48115 18.7029 8.56671 18.7014 8.65285C18.6999 8.73899 18.681 8.82394 18.646 8.90264C18.6109 8.98133 18.5603 9.05216 18.4973 9.11089L12.2958 15.3124C12.1755 15.4325 12.0125 15.5 11.8425 15.5C11.6725 15.5 11.5094 15.4325 11.3891 15.3124L5.18762 9.11089C5.06748 8.9906 5 8.82754 5 8.65754C5 8.48753 5.06748 8.32447 5.18762 8.20419Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.resume-select.open::after {
  transform: translateY(-50%) rotate(180deg);
}

.resume-select.placeholder .resume-select-value {
  color: var(--placeholder-color);
}

.resume-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface-primary);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
  display: none;
  flex-direction: column;
  max-height: 300px;
  overflow-y: auto;
  z-index: 20;
}


.filter-modal .resume-select-dropdown {
  z-index: 1100;
}

.resume-select.open .resume-select-dropdown {
  display: flex;
}

.resume-select-dropdown button {
  border: none;
  background: none;
  padding: 8px 16px;
  text-align: left;
  cursor: pointer;
  color: var(--text-color);
  font-size: var(--fs-16);
  font-weight: var(--fw-regular);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
}

.resume-select-dropdown button:hover {
  background: var(--hover-light);
}


.resume-select[data-multi="true"] .resume-select-dropdown button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.resume-select[data-multi="true"] .resume-select-dropdown button .sort-check-icon {
  display: none;
  flex-shrink: 0;
}

.resume-select[data-multi="true"] .resume-select-dropdown button.selected .sort-check-icon {
  display: flex;
}

.resume-salary-field {
  position: relative;
  width: 100%;
}

.resume-salary-field .input {
  padding-right: 140px;
  max-width: none;
  width: 100%;
  margin-bottom: 0;
}

.resume-salary-field .resume-salary-currency {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.resume-salary-currency {
  display: inline-flex;
  gap: 4px;
}

.resume-salary-currency button {
  border: none;
  background: var(--surface-primary);
  border-radius: 8px;
  padding: 0;
  width: 28px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  color: var(--text-color);
}

.resume-salary-currency button.active {
  background: var(--accent-color);
  color: white;
}

.resume-skills-block {
  padding: 0;
}

.resume-skills-actions {
  padding-bottom: 12px;
}

.resume-skills-field {
  position: relative;
  width: 100%;
  background: var(--surface-secondary);
  border-radius: 16px;
  padding: 0 16px;
  min-height: 44px;
}

.resume-skills-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 4px;
  row-gap: 2px;
  width: 100%;
}

.resume-skills-field.has-skills .resume-skills-inner {
  margin-top: 0;
  padding-top: 24px;
  padding-bottom: 16px;
}

.resume-skills-field.has-skills .resume-skills-inner #resumeSkillInput.input {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 4px;
  height: 34px;
  line-height: 34px;
}


.resume-skills-field.has-skills .floating-label {
  top: 4px;
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  letter-spacing: var(--ls-12);
  opacity: 0.9;
}

.resume-skills-inner #resumeSkillInput.input {
  flex: 0 1 130px;
  max-width: none;
  margin-bottom: 0;
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.resume-skills-chips {
  display: contents;
}

.resume-skills-chips:empty {
  display: none;
}

.resume-skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: var(--fs-14);
  font-weight: var(--fw-regular);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  background-color: var(--surface-primary);
  color: var(--text-color);
  cursor: grab;
}

.resume-skill-chip button {
  border: none;
  background: none;
  font-size: var(--fs-18);
  line-height: var(--lh-18);
  letter-spacing: var(--ls-18);
  padding: 0;
  cursor: pointer;
  color: #000000;
}

html.dark-theme .resume-skill-chip button {
  color: #ffffff;
}

.resume-skill-chip.dragging {
  opacity: 0.4;
  cursor: grabbing;
}

.resume-skill-chip.drag-over {
  position: relative;
}

.resume-skill-chip.drag-over::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #4285f4;
  border-radius: 1px;
}

.resume-skill-suggestions {
  position: relative;
}

.resume-skill-suggestions-list {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(18, 18, 18, 0.08);
  overflow: hidden;
  display: none;
  z-index: 10;
}

.resume-skill-suggestions-list.visible {
  display: block;
}

.resume-skill-suggestions-list button {
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  text-align: left;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  cursor: pointer;
}


#resumeSkillInput.input {
  max-width: none;
}

.resume-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resume-items:empty {
  display: none;
}

.resume-item-card {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  border-bottom: 1px solid var(--filter-divider);
}

.resume-item-card:last-child {
  border-bottom: none;
}

.resume-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resume-item-actions {
  display: flex;
  gap: 8px;
}

.resume-item-actions button {
  border: none;
  background: none;
  color: var(--accent-color);
  cursor: pointer;
}


.resume-edit-floating-wrapper {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0px 4px 12px 6px #0000000F;
  z-index: 1000;
  display: block;
}

html.dark-theme .resume-edit-floating-wrapper {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 10px 30px rgba(0, 0, 0, 0.7);
}

.resume-edit-floating-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.resume-floating-link {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.resume-floating-link svg {
  flex-shrink: 0;
  display: block;
}

.resume-floating-unpublish {
  display: none;
}

.resume-floating-unpublish {
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 8px 12px;
}

.resume-floating-publish {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  height: 44px;
}

.resume-consent-modal {
  max-width: 520px;
}

.resume-consent-modal-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resume-consent-text {
  margin: 0;
  color: var(--text-color);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
}

