/**
 * CV Düzenle — premium overrides (cv-olustur.css sonrası yüklenir)
 * CDN: https://static.denizkariyer.cloud/css/pages/cv-edit-premium.css
 */

.page-cv-edit .layout {
  display: block !important;
  gap: 0;
}

.page-cv-edit .sidebar,
.page-cv-edit .account-sidebar .sidebar {
  position: static;
  width: auto;
  margin-top: 0;
  top: auto;
}

.page-cv-edit .right-bar:not(.cv-right-bar) {
  position: static;
  width: auto;
  top: auto;
}

.page-cv-edit .content-container,
.page-cv-edit div#tabList {
  box-shadow: none !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.page-cv-edit .cv-container {
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

.page-cv-edit .tab-pane {
  margin-top: 0 !important;
}

.page-cv-edit .cv-page-head__title {
  color: #0f172a !important;
  text-align: left;
  font-size: 16px !important;
}

.page-cv-edit h1:not(.cv-page-head__title) {
  color: inherit !important;
}

/* ── Grid satırları ── */
.page-cv-edit .form-section .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 14px !important;
  margin-bottom: 16px !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  align-items: stretch !important;
  justify-content: unset !important;
}

.page-cv-edit .form-section .row:last-child {
  margin-bottom: 0 !important;
}

.page-cv-edit .sub-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  width: 100%;
  flex-direction: unset !important;
}

.page-cv-edit .sub-row .form-group:nth-child(3):last-child {
  grid-column: 1 / -1;
}

/* ── Deneyim kartları ── */
.page-cv-edit #cv-experience-section .exp-row {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.page-cv-edit #cv-experience-section .exp-row:last-of-type {
  margin-bottom: 0;
}

.page-cv-edit #cv-experience-section .exp-row > .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  margin-bottom: 14px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  align-items: stretch !important;
  justify-content: unset !important;
}

.page-cv-edit #cv-experience-section .exp-row > .row > .form-group:nth-child(3):last-child {
  grid-column: 1 / -1;
}

.page-cv-edit #cv-experience-section .exp-row > .row:last-child {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 0 !important;
}

.page-cv-edit #cv-experience-section .exp-row .sub-row {
  flex: 1 1 260px;
  min-width: 0;
  width: auto;
}

.page-cv-edit #cv-experience-section .actions-buttons-container {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.page-cv-edit #cv-experience-section #add-btn-experience {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 14px 0 0;
}

.page-cv-edit #cv-experience-section .exp-row input {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* ── Eğitim kartları ── */
.page-cv-edit #cv-education-section .form-content > .row[data-id],
.page-cv-edit #cv-education-section .edu-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

.page-cv-edit #cv-education-section .form-content > .row[data-id]:last-of-type,
.page-cv-edit #cv-education-section .edu-row:last-of-type {
  margin-bottom: 0;
}

.page-cv-edit #cv-education-section .edu-row .sub-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  width: 100%;
}

.page-cv-edit #cv-education-section .edu-row .sub-row .form-group:nth-child(3):last-child {
  grid-column: auto;
}

.page-cv-edit #cv-education-section .edu-row .actions-buttons-container {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.page-cv-edit #cv-education-section #add-btn-education {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 14px 0 0;
}

.page-cv-edit #cv-education-section .edu-row input {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

@media (max-width: 900px) {
  .page-cv-edit #cv-education-section .edu-row .sub-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-cv-edit #cv-education-section .edu-row .sub-row .form-group:nth-child(3) {
    grid-column: 1 / -1;
  }
}

.page-cv-edit .form-group {
  min-width: 0;
  margin: 0 !important;
  width: 100%;
}

/* ── Sabit label + temiz kutu border ── */
.page-cv-edit .float-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  margin: 0;
}

.page-cv-edit .float-field:not([data-label])::before {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  animation: none !important;
}

.page-cv-edit .float-field legend {
  display: none !important;
}

.page-cv-edit .float-field[data-label]::before {
  display: block !important;
  content: attr(data-label) !important;
  order: -1;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #4b5563;
  pointer-events: none;
}

.page-cv-edit .float-field[data-label] .placeholder {
  display: none !important;
}

.page-cv-edit .float-field fieldset {
  position: relative;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 7px 10px !important;
  min-height: 34px !important;
  background: #fff !important;
  margin: 0 !important;
  transition: border-color .15s ease, box-shadow .15s ease;
  display: flex;
  align-items: center;
  overflow: visible;
}

.page-cv-edit .float-field:focus-within fieldset {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14) !important;
}

.page-cv-edit .float-field.active fieldset {
  border-color: #d1d5db !important;
  box-shadow: none !important;
}

.page-cv-edit .float-field.active:focus-within fieldset {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14) !important;
}

.page-cv-edit .form-group:has(.required-field-indicator:not([style*="display: none"])) .float-field fieldset,
.page-cv-edit .form-group:has(.required-field-indicator[style*="display: flex"]) .float-field fieldset {
  border-color: #fca5a5 !important;
}

.page-cv-edit .form-group:has(.required-field-indicator:not([style*="display: none"])) .float-field:focus-within fieldset,
.page-cv-edit .form-group:has(.required-field-indicator[style*="display: flex"]) .float-field:focus-within fieldset {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.page-cv-edit .float-field input,
.page-cv-edit .float-field textarea,
.page-cv-edit .float-field select {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  border: none;
  background: transparent;
  outline: none;
  box-shadow: none !important;
  min-height: 18px !important;
  display: block;
  color: #111827;
  z-index: 2;
}

.page-cv-edit .float-field input.flatpickr-date,
.page-cv-edit .float-field input.issuedate,
.page-cv-edit .float-field input.expirydate,
.page-cv-edit .float-field input.birthdate,
.page-cv-edit .float-field input.experience-date-start,
.page-cv-edit .float-field input.experience-date-end {
  cursor: pointer;
  caret-color: transparent;
  user-select: none;
}

.page-cv-edit .float-field textarea {
  min-height: 68px !important;
  resize: vertical;
}

.page-cv-edit .float-field:has(#cv-email) fieldset {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  border-color: #e2e8f0 !important;
  padding: 7px 44px 7px 10px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.page-cv-edit .float-field:has(#cv-email):focus-within fieldset {
  border-color: #cbd5e1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.page-cv-edit input#cv-email {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #1f2937 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  min-height: 18px !important;
  cursor: not-allowed;
}

.page-cv-edit .edit-email {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.page-cv-edit .edit-email:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.14);
  transform: translateY(-50%);
}

.page-cv-edit .edit-email img {
  width: 14px;
  height: 14px;
  display: block;
  transition: opacity 0.18s ease;
  filter: brightness(0) saturate(100%) invert(38%) sepia(79%) saturate(2476%) hue-rotate(207deg) brightness(99%) contrast(95%);
}

.page-cv-edit .edit-email:hover img {
  transform: none;
  opacity: 0.88;
}

.page-cv-edit .float-field.loading fieldset::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  bottom: auto;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 2px solid #d1d5db;
  border-top-color: #3b82f6;
  border-radius: 50%;
  box-sizing: border-box;
  opacity: 1;
  animation: cv-field-spin .6s linear infinite;
  pointer-events: none;
  z-index: 3;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center center;
}

.page-cv-edit .float-field.loading fieldset input,
.page-cv-edit .float-field.loading fieldset textarea,
.page-cv-edit .float-field.success fieldset input,
.page-cv-edit .float-field.success fieldset textarea {
  padding-right: 24px !important;
}

.page-cv-edit .float-field::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}

.page-cv-edit .float-field.success fieldset::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: 0;
  border: none;
  pointer-events: none;
  z-index: 3;
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%);
  transition: opacity 0.22s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%2322c55e' stroke-width='1.5' fill='%23f0fdf4'/%3E%3Cpath d='M6 10l2.5 2.5L14 7' stroke='%2322c55e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@keyframes cv-field-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.page-cv-edit .dk-char-counter {
  position: absolute;
  inset: auto 10px 10px auto;
  font-size: 10px;
}

.page-cv-edit .dropdown-box,
.page-cv-edit .dropdown-box .selected-item {
  width: 100%;
  min-width: 0;
}

/* ── Dropdown düzeltmeleri ── */
.page-cv-edit .form-group > .form-group {
  width: 100%;
  margin: 0 !important;
}

/* ── Tercihler satırı ── */
.page-cv-edit #cv-preferences-section .cv-prefs-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 14px !important;
  align-items: start !important;
  margin-bottom: 0 !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
}

.page-cv-edit #cv-preferences-section .cv-prefs-row--with-vessel {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.page-cv-edit .form-group.required-focus::before {
  display: none !important;
}

.page-cv-edit .row,
.page-cv-edit .form-section,
.page-cv-edit .form-content,
.page-cv-edit .tab-pane,
.page-cv-edit .cv-main-content,
.page-cv-edit .cv-form-card__body {
  overflow: visible !important;
}

.page-cv-edit .row:has(.dropdown-box.active) {
  z-index: auto;
}

.page-cv-edit .dropdown-box {
  position: relative;
  isolation: isolate;
}

.page-cv-edit .dropdown-box.active {
  z-index: 401;
}

.page-cv-edit .dropdown-box .selected-item {
  position: relative;
  cursor: pointer;
}

.page-cv-edit .dropdown-box .selected-item::after {
  display: none !important;
}

.page-cv-edit .dropdown-box .float-field fieldset::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 2px solid;
  border-color: transparent #9ca3af #9ca3af transparent;
  transform: translateY(-50%) rotate(45deg) scale(1);
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.38s ease 0.12s,
    visibility 0.38s ease 0.12s,
    transform 0.28s ease 0.12s;
}

.page-cv-edit .dropdown-box .float-field.loading fieldset::after {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) rotate(45deg) scale(0.82);
  transition:
    opacity 0.16s ease,
    visibility 0.16s ease,
    transform 0.16s ease;
}

.page-cv-edit .dropdown-box .float-field.success fieldset::after {
  width: 16px !important;
  height: 16px !important;
  border: none !important;
  border-color: transparent !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%2322c55e' stroke-width='1.5' fill='%23f0fdf4'/%3E%3Cpath d='M6 10l2.5 2.5L14 7' stroke='%2322c55e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) !important;
  transition: opacity 0.22s ease;
}

.page-cv-edit .dropdown-box.active .float-field fieldset::after {
  transform: translateY(-50%) rotate(225deg) scale(1);
  transition:
    opacity 0.38s ease 0.12s,
    visibility 0.38s ease 0.12s,
    transform 0.22s ease;
}

.page-cv-edit .dropdown-box.active .float-field.loading fieldset::after {
  transform: translateY(-50%) rotate(45deg) scale(0.82);
  transition:
    opacity 0.16s ease,
    visibility 0.16s ease,
    transform 0.16s ease;
}

.page-cv-edit .dropdown-box.active .float-field.success fieldset::after {
  transform: translateY(-50%) !important;
  transition: opacity 0.22s ease;
}

.page-cv-edit .dropdown-box .float-field fieldset input {
  padding-right: 26px !important;
  cursor: pointer;
}

.page-cv-edit .dropdown-box fieldset input:focus {
  background: transparent !important;
  padding-left: 0 !important;
}

.page-cv-edit .dropdown-box.active .float-field fieldset {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14) !important;
}

.page-cv-edit .dropdown-box .dropdown-content {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 402 !important;
  max-height: 210px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  filter: none !important;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

.page-cv-edit .dropdown-box.active .dropdown-content {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

.page-cv-edit .dropdown-box .dropdown-content .search-input {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
}

.page-cv-edit .dropdown-box .dropdown-content ul {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.page-cv-edit .dropdown-box .dropdown-content ul li {
  padding: 6px 10px !important;
  font-size: 11px !important;
  line-height: 1.35;
  color: #374151;
  cursor: pointer;
  transform: none !important;
  transition: background-color .12s ease, color .12s ease;
}

.page-cv-edit .dropdown-box .dropdown-content .search-input input {
  font-size: 11px !important;
  padding: 6px 10px !important;
  line-height: 1.35;
}

.page-cv-edit .dropdown-box .dropdown-content ul li:hover,
.page-cv-edit .dropdown-box .dropdown-content ul li.keyboard-active {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-weight: 500 !important;
}

.page-cv-edit .dropdown-box .dropdown-content ul li.active {
  background: #dbeafe !important;
  color: #1e40af !important;
}

.page-cv-edit .dropdown-box .dropdown-content ul li.hide {
  display: none !important;
}

.page-cv-edit .phone-code-field {
  width: 100% !important;
  min-width: 0 !important;
}

.page-cv-edit .form-group[style*="flex-direction: row"] {
  display: grid !important;
  grid-template-columns: minmax(84px, 108px) minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: end;
}

.page-cv-edit .btn--add,
.page-cv-edit .btn2.add-btn,
.page-cv-edit .add-button {
  border-radius: 8px;
  font-family: inherit;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  line-height: 1.35;
}

.page-cv-edit .btn--add span.label,
.page-cv-edit .btn--add > span,
.page-cv-edit .btn2.add-btn > span {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit;
}

.page-cv-edit .actions-buttons-container .btn2.delete-btn {
  font-size: 11px !important;
  font-weight: 500 !important;
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1.35;
}

.page-cv-edit .actions-buttons-container .btn2.delete-btn > span {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit;
}

.page-cv-edit .cv-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.page-cv-edit .cv-btn--ghost span,
.page-cv-edit .cv-btn--ghost strong {
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
}

.page-cv-edit .cv-security-banner__title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: #111827;
}

.page-cv-edit .cv-security-banner__text {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  color: #6b7280;
}

.page-cv-edit .cv-security-banner__link {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: #111827;
}

/* Sekme active çizgisi */
.page-cv-edit .cv-section-tab.is-active {
  box-shadow: inset 0 -2px 0 #1b64f2;
  border-bottom-color: transparent !important;
}

.page-cv-edit.cv-panel-mode .form-section-container .cv-main-header {
  display: none !important;
}

.page-cv-edit.cv-panel-mode .form-section-container {
  border: none;
  box-shadow: none;
  margin-bottom: 0;
  background: transparent;
}

.page-cv-edit.cv-panel-mode .cv-main-content {
  gap: 0;
}

.page-cv-edit.cv-panel-mode .cv-main-content .tab-pane.scroll-section + .tab-pane.scroll-section {
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.page-cv-edit.cv-panel-mode #cv-preferences-section + #cv-personal-info-section {
  padding-top: 10px;
  border-top: none;
}

.page-cv-edit.cv-panel-mode .form-section-container .form-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  transition: none !important;
}

.page-cv-edit.cv-panel-mode .form-section-container {
  transition: none !important;
}

.page-cv-edit .tab-pane.scroll-section[hidden],
.page-cv-edit.cv-panel-mode .tab-pane.scroll-section:not(.is-tab-active) {
  display: none !important;
}

.page-cv-edit.cv-panel-mode .tab-pane.scroll-section.is-tab-active {
  display: block !important;
}

.page-cv-edit .cv-form-footer--next-only {
  justify-content: flex-end;
}

.page-cv-edit .cv-page-head__autosave {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-cv-edit .cv-page-head__autosave::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}

.page-cv-edit .cv-page-head__stats {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  overflow: hidden;
  gap: 0;
}

.page-cv-edit .cv-page-head__stat {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 12px 14px;
}

.page-cv-edit .cv-page-head__stat--completion {
  flex: 0 0 188px;
  min-height: 74px;
  width: auto;
  max-width: none;
  gap: 8px;
  border-right: 1px solid #f3f4f6;
}

.page-cv-edit .cv-page-head__stat-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-cv-edit .cv-page-head__stat--completion .completion-percentage {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.page-cv-edit .cv-page-head__stat--completion .progress-bar {
  height: 5px;
  margin: 0;
  background: #e8edf3;
}

.page-cv-edit .cv-page-head__stat--completion .progress-fill {
  background: linear-gradient(90deg, #1b64f2 0%, #3b82f6 100%);
}

.page-cv-edit .cv-page-head__stat--required.cv-required-progress-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 12px !important;
  width: auto !important;
  min-width: 240px;
  max-width: 340px;
  min-height: 74px;
  flex: 1 1 auto !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.page-cv-edit .cv-page-head__stat--required.cv-required-progress-card.is-complete {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  min-width: 260px;
  max-width: 360px;
  padding: 12px 14px !important;
}

.page-cv-edit .cv-page-head__required-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-cv-edit .cv-page-head__stat--required.is-complete .cv-required-progress-ring-wrap {
  align-self: center;
}

.page-cv-edit .cv-page-head__stat--required .cv-required-progress-ring-wrap {
  width: 48px !important;
  height: 48px !important;
}

.page-cv-edit .cv-page-head__stat--required .cv-required-progress-ring {
  width: 48px !important;
  height: 48px !important;
}

.page-cv-edit .cv-page-head__stat--required .cv-required-progress-status {
  flex: 1;
  min-width: 0;
  align-items: flex-start !important;
  width: auto !important;
  gap: 3px;
}

.page-cv-edit .cv-page-head__stat--required .cv-required-progress-warning,
.page-cv-edit .cv-page-head__stat--required .cv-required-progress-actions {
  display: none !important;
}

.page-cv-edit .cv-page-head__stat--required .cv-page-head__required-cta,
.page-cv-edit .cv-page-head__stat--required .cv-required-cta-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100%;
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 10px !important;
  margin: 4px 0 0 !important;
  font-size: 10px !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transform: none !important;
  background: #16a34a !important;
}

.page-cv-edit .cv-page-head__stat--required.is-incomplete .cv-page-head__required-cta,
.page-cv-edit .cv-page-head__stat--required.is-incomplete .cv-required-cta-btn {
  display: none !important;
}

.page-cv-edit.cv-panel-mode .tab-pane.scroll-section {
  scroll-margin-top: 0;
}

.page-cv-edit .cv-form-card {
  overflow: hidden;
}

.page-cv-edit .cv-preview-card {
  overflow: hidden;
}

.page-cv-edit .cv-workspace-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 1fr);
  gap: 16px;
}

.page-cv-edit .cv-preview-card__frame-wrap {
  min-height: 520px;
  max-height: min(78vh, 760px);
  overflow-x: hidden;
  overflow-y: auto;
}

.page-cv-edit .cv-preview-card__frame-scaler {
  transform-origin: top left;
}

.page-cv-edit .cv-preview-card__frame {
  display: block;
  border: 0;
  transform-origin: top left;
}

@media (min-width: 1440px) {
  .page-cv-edit .cv-workspace-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(400px, 1fr);
  }

  .page-cv-edit .cv-preview-card__frame-wrap {
    min-height: 580px;
    max-height: min(82vh, 820px);
  }
}

@media (max-width: 1023px) {
  .page-cv-edit .cv-workspace-grid {
    grid-template-columns: 1fr;
  }

  .page-cv-edit .cv-preview-card {
    order: -1;
  }

  .page-cv-edit .cv-preview-card__frame-wrap {
    min-height: 460px;
    max-height: min(70vh, 680px);
  }
}

@media (max-width: 767px) {
  .page-cv-edit .cv-page-head__stats {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .page-cv-edit .cv-page-head__stat--completion {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    border-right: none;
    border-bottom: 1px solid #f3f4f6;
  }

  .page-cv-edit .cv-page-head__stat--required.cv-required-progress-card {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .page-cv-edit .cv-page-head__stat--required.is-complete .cv-page-head__required-cta,
  .page-cv-edit .cv-page-head__stat--required.is-complete .cv-required-cta-btn {
    width: auto !important;
  }
}

.page-cv-edit .cv-preview-doc {
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}

/* ── Kimlik ve Pasaport ── */
.page-cv-edit #cv-passport-id-section .form-content-sub {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.page-cv-edit #cv-passport-id-section .form-content-sub:last-child {
  margin-bottom: 0;
}

.page-cv-edit #cv-passport-id-section .section-header {
  margin-bottom: 12px;
  gap: 6px;
}

.page-cv-edit #cv-passport-id-section .section-header h3 {
  margin: 0;
  font-size: 12.5px !important;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.page-cv-edit #cv-passport-id-section .section-header svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  color: #1b64f2;
}

.page-cv-edit #cv-passport-id-section .form-content-sub > .row,
.page-cv-edit #cv-passport-id-section .form-content-sub .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  flex-direction: unset !important;
  align-items: stretch !important;
}

.page-cv-edit #cv-passport-id-section .form-content-sub .sub-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  width: 100%;
}

.page-cv-edit #cv-passport-id-section .passport-upload-slots,
.page-cv-edit #cv-passport-id-section .identity-upload-slots {
  width: 100%;
  margin-top: 14px;
}

.page-cv-edit #cv-passport-id-section .visa-fields-row {
  margin-bottom: 0 !important;
}

.page-cv-edit #cv-passport-id-section .id-doc-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  width: 100%;
}

.page-cv-edit #cv-passport-id-section .id-doc-group .form-group {
  margin-bottom: 0;
}

.page-cv-edit #cv-passport-id-section .id-doc-group .document-uploader-section {
  margin-top: 12px;
}

.page-cv-edit #cv-passport-id-section .form-content-sub input {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.page-cv-edit #cv-passport-id-section .document-uploader-section {
  margin-top: 14px;
  border-radius: 10px;
  border-color: #e5e7eb;
}

.page-cv-edit #cv-passport-id-section .document-uploader-header {
  padding: 12px 14px;
  gap: 12px;
}

.page-cv-edit #cv-passport-id-section .document-uploader-title {
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 2px;
}

.page-cv-edit #cv-passport-id-section .document-uploader-subtitle {
  font-size: 11px !important;
  line-height: 1.4;
}

.page-cv-edit #cv-passport-id-section .document-uploader-toggle {
  min-height: 34px;
  padding: 0 12px;
  gap: 6px;
}

.page-cv-edit #cv-passport-id-section .document-uploader-toggle-text {
  font-size: 11px !important;
}

.page-cv-edit #cv-passport-id-section .document-uploader-toggle-icon {
  width: 22px;
  height: 22px;
}

.page-cv-edit #cv-passport-id-section .document-uploader-toggle-icon svg {
  width: 14px;
  height: 14px;
}

.page-cv-edit #cv-passport-id-section .document-upload-collapse-inner {
  padding: 0 14px 14px;
}

.page-cv-edit #cv-passport-id-section .document-upload-slots {
  gap: 8px;
  padding: 0;
}

.page-cv-edit #cv-passport-id-section .document-slot {
  min-height: 56px;
}

.page-cv-edit #cv-passport-id-section .document-slot-empty,
.page-cv-edit #cv-passport-id-section .document-slot-filled {
  min-height: 56px;
  padding: 8px 10px;
  gap: 10px;
  border-radius: 8px;
}

.page-cv-edit #cv-passport-id-section .document-slot-empty-media,
.page-cv-edit #cv-passport-id-section .document-slot-media {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 8px;
}

.page-cv-edit #cv-passport-id-section .document-slot-empty-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.page-cv-edit #cv-passport-id-section .document-slot-empty-icon svg {
  width: 14px;
  height: 14px;
}

.page-cv-edit #cv-passport-id-section .document-slot-empty-title,
.page-cv-edit #cv-passport-id-section .document-slot-name {
  font-size: 11px !important;
  line-height: 1.35;
}

.page-cv-edit #cv-passport-id-section .document-slot-empty-subtitle,
.page-cv-edit #cv-passport-id-section .document-slot-size {
  margin-top: 2px;
  font-size: 10px !important;
  line-height: 1.4;
}

.page-cv-edit #cv-passport-id-section .document-slot-empty-action,
.page-cv-edit #cv-passport-id-section .document-slot-open-action {
  min-width: 64px;
  width: auto;
  height: 28px;
  padding: 0 10px;
  font-size: 10px !important;
}

.page-cv-edit #cv-passport-id-section .dropdown-box .dropdown-content {
  max-height: 180px !important;
}

.page-cv-edit #cv-passport-id-section .dropdown-box .dropdown-content ul li,
.page-cv-edit #cv-passport-id-section .dropdown-box .dropdown-content ul li.dropdown-item {
  padding: 6px 10px !important;
  font-size: 11px !important;
}

/* ── Gemi Adamı Cüzdanı ── */
.page-cv-edit #cv-seaman-wallet-section .form-content-sub {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
}

.page-cv-edit #cv-seaman-wallet-section .section-header h3 {
  margin: 0;
  font-size: 12.5px !important;
  font-weight: 600;
  color: #111827;
}

.page-cv-edit #cv-seaman-wallet-section .section-header svg {
  width: 16px !important;
  height: 16px !important;
  color: #1b64f2;
}

.page-cv-edit #cv-seaman-wallet-section .seaman-wallet-fields-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  width: 100%;
}

.page-cv-edit #cv-seaman-wallet-section .seaman-wallet-verify {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f0f7ff;
}

.page-cv-edit #cv-seaman-wallet-section .seaman-wallet-verify__text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #374151;
}

.page-cv-edit #cv-seaman-wallet-section .seaman-wallet-verify__btn {
  flex-shrink: 0;
  min-height: 34px;
  margin: 0;
}

.page-cv-edit #cv-seaman-wallet-section .seaman-wallet-verify__btn svg {
  width: 16px;
  height: 16px;
}

.page-cv-edit #cv-seaman-wallet-section .seaman-book-upload-slots {
  width: 100%;
  margin-top: 14px;
}

.page-cv-edit #cv-seaman-wallet-section .document-uploader-section {
  margin-top: 0;
  border-radius: 10px;
  border-color: #e5e7eb;
}

.page-cv-edit #cv-seaman-wallet-section .document-uploader-header {
  padding: 12px 14px;
  gap: 12px;
}

.page-cv-edit #cv-seaman-wallet-section .document-uploader-title {
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 2px;
}

.page-cv-edit #cv-seaman-wallet-section .document-uploader-subtitle {
  font-size: 11px !important;
  line-height: 1.4;
  color: #6b7280;
}

.page-cv-edit #cv-seaman-wallet-section .document-uploader-toggle {
  min-height: 34px;
  padding: 0 12px;
  gap: 6px;
}

.page-cv-edit #cv-seaman-wallet-section .document-uploader-toggle-text {
  font-size: 11px !important;
  font-weight: 500;
  color: #111827;
}

.page-cv-edit #cv-seaman-wallet-section .document-uploader-toggle-icon {
  width: 22px;
  height: 22px;
}

.page-cv-edit #cv-seaman-wallet-section .document-uploader-toggle-icon svg {
  width: 14px;
  height: 14px;
}

.page-cv-edit #cv-seaman-wallet-section .document-upload-collapse-inner {
  padding: 0 14px 14px;
}

.page-cv-edit #cv-seaman-wallet-section .document-upload-slots {
  gap: 8px;
}

.page-cv-edit #cv-seaman-wallet-section .document-slot-empty,
.page-cv-edit #cv-seaman-wallet-section .document-slot-filled {
  min-height: 56px;
  padding: 8px 10px;
  gap: 10px;
}

.page-cv-edit #cv-seaman-wallet-section .document-slot-empty-media,
.page-cv-edit #cv-seaman-wallet-section .document-slot-media {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

.page-cv-edit #cv-seaman-wallet-section .document-slot-empty-title,
.page-cv-edit #cv-seaman-wallet-section .document-slot-name {
  font-size: 11px !important;
  font-weight: 600;
  color: #111827;
}

.page-cv-edit #cv-seaman-wallet-section .document-slot-empty-subtitle,
.page-cv-edit #cv-seaman-wallet-section .document-slot-size {
  font-size: 10px !important;
  color: #6b7280;
}

.page-cv-edit #cv-seaman-wallet-section .document-slot-empty-action,
.page-cv-edit #cv-seaman-wallet-section .document-slot-open-action {
  min-width: 64px;
  height: 28px;
  padding: 0 10px;
  font-size: 10px !important;
}

/* ── Yeterlilik / Endorsement ── */
.page-cv-edit #cv-seaman-sufficiency-section .sufficiency-container .form-content-sub .row,
.page-cv-edit #cv-seaman-endorsement-section .endorsement-container .form-content-sub .row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px;
  padding: 14px 16px !important;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 14px;
}

.page-cv-edit #cv-seaman-sufficiency-section .sufficiency-container .form-content-sub .row:last-of-type,
.page-cv-edit #cv-seaman-endorsement-section .endorsement-container .form-content-sub .row:last-of-type {
  margin-bottom: 0;
}

.page-cv-edit #cv-seaman-sufficiency-section .sub-row,
.page-cv-edit #cv-seaman-endorsement-section .sub-row {
  width: 100%;
}

.page-cv-edit .sufficiency-upload-slots,
.page-cv-edit .endorsement-upload-slots {
  width: 100%;
  margin-top: 0;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-uploader-section,
.page-cv-edit #cv-seaman-endorsement-section .document-uploader-section {
  margin-top: 0;
  border-radius: 10px;
  border-color: #e5e7eb;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-uploader-header,
.page-cv-edit #cv-seaman-endorsement-section .document-uploader-header {
  padding: 12px 14px;
  gap: 12px;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-uploader-title,
.page-cv-edit #cv-seaman-endorsement-section .document-uploader-title {
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 2px;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-uploader-subtitle,
.page-cv-edit #cv-seaman-endorsement-section .document-uploader-subtitle {
  font-size: 11px !important;
  line-height: 1.4;
  color: #6b7280;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-uploader-toggle,
.page-cv-edit #cv-seaman-endorsement-section .document-uploader-toggle {
  min-height: 34px;
  padding: 0 12px;
  gap: 6px;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-uploader-toggle-text,
.page-cv-edit #cv-seaman-endorsement-section .document-uploader-toggle-text {
  font-size: 11px !important;
  font-weight: 500;
  color: #111827;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-uploader-toggle-icon,
.page-cv-edit #cv-seaman-endorsement-section .document-uploader-toggle-icon {
  width: 22px;
  height: 22px;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-uploader-toggle-icon svg,
.page-cv-edit #cv-seaman-endorsement-section .document-uploader-toggle-icon svg {
  width: 14px;
  height: 14px;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-upload-collapse-inner,
.page-cv-edit #cv-seaman-endorsement-section .document-upload-collapse-inner {
  padding: 0 14px 14px;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-upload-slots,
.page-cv-edit #cv-seaman-endorsement-section .document-upload-slots {
  gap: 8px;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-slot-empty,
.page-cv-edit #cv-seaman-sufficiency-section .document-slot-filled,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-empty,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-filled {
  min-height: 56px;
  padding: 8px 10px;
  gap: 10px;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-slot-empty-media,
.page-cv-edit #cv-seaman-sufficiency-section .document-slot-media,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-empty-media,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-media {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-slot-empty-title,
.page-cv-edit #cv-seaman-sufficiency-section .document-slot-name,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-empty-title,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-name {
  font-size: 11px !important;
  font-weight: 600;
  color: #111827;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-slot-empty-subtitle,
.page-cv-edit #cv-seaman-sufficiency-section .document-slot-size,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-empty-subtitle,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-size {
  font-size: 10px !important;
  color: #6b7280;
}

.page-cv-edit #cv-seaman-sufficiency-section .document-slot-empty-action,
.page-cv-edit #cv-seaman-sufficiency-section .document-slot-open-action,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-empty-action,
.page-cv-edit #cv-seaman-endorsement-section .document-slot-open-action {
  min-width: 64px;
  height: 28px;
  padding: 0 10px;
  font-size: 10px !important;
}

/* ── Sağlık Sertifikası ── */
.page-cv-edit #cv-seaman-meds-section .form-content > .row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px;
  padding: 14px 16px !important;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 14px;
}

.page-cv-edit #cv-seaman-meds-section .form-content > .row:last-of-type {
  margin-bottom: 0;
}

.page-cv-edit #cv-seaman-meds-section .sub-row {
  width: 100%;
}

.page-cv-edit .meds-upload-slots {
  width: 100%;
  margin-top: 0;
}

.page-cv-edit #cv-seaman-meds-section .document-uploader-section {
  margin-top: 0;
  border-radius: 10px;
  border-color: #e5e7eb;
}

.page-cv-edit #cv-seaman-meds-section .document-uploader-header {
  padding: 12px 14px;
  gap: 12px;
}

.page-cv-edit #cv-seaman-meds-section .document-uploader-title {
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 2px;
}

.page-cv-edit #cv-seaman-meds-section .document-uploader-subtitle {
  font-size: 11px !important;
  line-height: 1.4;
  color: #6b7280;
}

.page-cv-edit #cv-seaman-meds-section .document-uploader-toggle {
  min-height: 34px;
  padding: 0 12px;
  gap: 6px;
}

.page-cv-edit #cv-seaman-meds-section .document-uploader-toggle-text {
  font-size: 11px !important;
  font-weight: 500;
  color: #111827;
}

.page-cv-edit #cv-seaman-meds-section .document-uploader-toggle-icon {
  width: 22px;
  height: 22px;
}

.page-cv-edit #cv-seaman-meds-section .document-uploader-toggle-icon svg {
  width: 14px;
  height: 14px;
}

.page-cv-edit #cv-seaman-meds-section .document-upload-collapse-inner {
  padding: 0 14px 14px;
}

.page-cv-edit #cv-seaman-meds-section .document-upload-slots {
  gap: 8px;
}

.page-cv-edit #cv-seaman-meds-section .document-slot-empty,
.page-cv-edit #cv-seaman-meds-section .document-slot-filled {
  min-height: 56px;
  padding: 8px 10px;
  gap: 10px;
}

.page-cv-edit #cv-seaman-meds-section .document-slot-empty-media,
.page-cv-edit #cv-seaman-meds-section .document-slot-media {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

.page-cv-edit #cv-seaman-meds-section .document-slot-empty-title,
.page-cv-edit #cv-seaman-meds-section .document-slot-name {
  font-size: 11px !important;
  font-weight: 600;
  color: #111827;
}

.page-cv-edit #cv-seaman-meds-section .document-slot-empty-subtitle,
.page-cv-edit #cv-seaman-meds-section .document-slot-size {
  font-size: 10px !important;
  color: #6b7280;
}

.page-cv-edit #cv-seaman-meds-section .document-slot-empty-action,
.page-cv-edit #cv-seaman-meds-section .document-slot-open-action {
  min-width: 64px;
  height: 28px;
  padding: 0 10px;
  font-size: 10px !important;
}

/* ── Ek Bilgiler / Diğer Diller ── */
.page-cv-edit #cv-additional-info-section .form-content > .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  margin-bottom: 14px !important;
  flex-direction: unset !important;
  align-items: stretch !important;
}

.page-cv-edit #cv-additional-info-section .form-content > .row:has(.form-group:only-child) {
  grid-template-columns: 1fr !important;
}

.page-cv-edit #cv-additional-info-section .form-content > .row .form-group.full-width {
  grid-column: 1 / -1;
}

.page-cv-edit #cv-additional-info-section .cv-languages-panel,
.page-cv-edit #cv-additional-info-section #language-list {
  width: 100%;
}

.page-cv-edit #cv-additional-info-section .cv-languages-panel__title {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.page-cv-edit #cv-additional-info-section #language-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
  border: none;
}

.page-cv-edit #cv-additional-info-section .language-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto !important;
  gap: 12px 14px !important;
  align-items: end !important;
  margin-bottom: 0 !important;
  padding: 14px 16px !important;
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  justify-content: unset !important;
}

.page-cv-edit #cv-additional-info-section .language-row.language-row-extra-pending {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
}

.page-cv-edit #cv-additional-info-section .language-name-display {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.page-cv-edit #cv-additional-info-section .language-name-display__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #4b5563;
}

.page-cv-edit #cv-additional-info-section .language-name-display__value {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
  display: flex;
  align-items: center;
  word-break: break-word;
}

.page-cv-edit #cv-additional-info-section .language-action-group {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin: 0 !important;
  min-width: 0;
}

.page-cv-edit #cv-additional-info-section .language-remove-btn {
  margin: 0;
  white-space: nowrap;
  align-self: center;
  padding: 0.625rem 1rem;
  color: #374151;
  border: 0.1rem dashed #cbd5e1;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  height: 34px;
  background-color: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.page-cv-edit #cv-additional-info-section .language-remove-btn:hover:not(:disabled) {
  background-color: #e2e8f0;
}

.page-cv-edit #cv-additional-info-section #language-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.page-cv-edit #cv-additional-info-section .language-row input {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

@media (max-width: 767px) {
  .page-cv-edit .form-section .row,
  .page-cv-edit .sub-row,
  .page-cv-edit #cv-experience-section .exp-row > .row {
    grid-template-columns: 1fr !important;
  }

  .page-cv-edit #cv-preferences-section .cv-prefs-row,
  .page-cv-edit #cv-preferences-section .cv-prefs-row--with-vessel {
    grid-template-columns: 1fr !important;
  }

  .page-cv-edit #cv-experience-section .exp-row > .row > .form-group:nth-child(3):last-child {
    grid-column: auto;
  }

  .page-cv-edit .sub-row .form-group:nth-child(3):last-child {
    grid-column: auto;
  }

  .page-cv-edit #cv-education-section .edu-row .sub-row {
    grid-template-columns: 1fr !important;
  }

  .page-cv-edit #cv-education-section .edu-row .sub-row .form-group:nth-child(3) {
    grid-column: auto;
  }

  .page-cv-edit #cv-passport-id-section .form-content-sub > .row,
  .page-cv-edit #cv-passport-id-section .form-content-sub .row,
  .page-cv-edit #cv-passport-id-section .form-content-sub .sub-row {
    grid-template-columns: 1fr !important;
  }

  .page-cv-edit #cv-seaman-wallet-section .seaman-wallet-fields-grid {
    grid-template-columns: 1fr !important;
  }

  .page-cv-edit #cv-seaman-wallet-section .seaman-wallet-verify {
    flex-direction: column;
    align-items: stretch;
  }

  .page-cv-edit #cv-seaman-wallet-section .seaman-wallet-verify__btn {
    width: 100%;
    justify-content: center;
  }

  .page-cv-edit #cv-additional-info-section .language-row {
    grid-template-columns: 1fr !important;
  }

  .page-cv-edit #cv-additional-info-section .form-content > .row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1023px) {
  .page-cv-edit .cv-right-bar,
  .page-cv-edit .cv-progress-panel {
    position: static;
    width: auto;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .page-cv-edit .app-main {
    font-size: 11px;
  }
}

/* ── SweetAlert2 premium (iyzico-style) ── */
body.page-cv-edit {
  --dk-brand: #1b64f2;
  --dk-brand-strong: #0f4fd0;
  --dk-title: #111827;
  --dk-text: #374151;
  --dk-muted: #6b7280;
  --dk-line: #e5e7eb;
  --dk-white: #ffffff;
  --dk-radius-card: 16px;
}

.swal2-container.swal2-backdrop-show {
  background: rgba(17, 24, 39, 0.42);
}

.swal2-popup.dk-swal-popup,
.swal2-popup {
  width: min(calc(100% - 32px), 380px);
  max-width: 380px;
  padding: 22px 22px 18px;
  border-radius: var(--dk-radius-card);
  border: 1px solid var(--dk-line);
  background: var(--dk-white);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.1), 0 2px 6px rgba(16, 24, 40, 0.05);
  color: var(--dk-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.swal2-popup .dk-swal-title,
.swal2-popup .swal2-title {
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dk-title);
  line-height: 1.35;
}

.swal2-popup .dk-swal-text,
.swal2-popup .swal2-html-container {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--dk-text);
}

.swal2-popup .dk-swal-icon,
.swal2-popup .swal2-icon {
  margin: 0.2em auto 0.9em;
  transform: scale(0.72);
  transform-origin: center center;
}

.swal2-popup .dk-swal-actions,
.swal2-popup .swal2-actions {
  width: 100%;
  margin: 18px 0 0 !important;
  padding: 0;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.swal2-popup .dk-swal-btn,
.swal2-popup .swal2-styled:not([style*="display: none"]):not([style*="display:none"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 88px;
  padding: 0 14px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.swal2-popup .dk-swal-btn--confirm,
.swal2-popup .swal2-confirm {
  background: var(--dk-brand) !important;
  border-color: var(--dk-brand) !important;
  color: #fff !important;
}

.swal2-popup .dk-swal-btn--confirm:hover,
.swal2-popup .swal2-confirm:hover {
  background: var(--dk-brand-strong) !important;
  border-color: var(--dk-brand-strong) !important;
}

.swal2-popup .dk-swal-btn--cancel,
.swal2-popup .swal2-cancel,
.swal2-popup .swal2-deny {
  background: var(--dk-white) !important;
  border-color: var(--dk-line) !important;
  color: var(--dk-text) !important;
}

.swal2-popup .dk-swal-btn--cancel:hover,
.swal2-popup .swal2-cancel:hover,
.swal2-popup .swal2-deny:hover {
  background: #f9fafb !important;
  border-color: #d1d5db !important;
  color: var(--dk-title) !important;
}

/* ── Deneyim — platform firması seçici ── */
.page-cv-edit .experience-company-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  position: relative;
  overflow: visible !important;
}

.page-cv-edit .experience-company-field.is-picker-open {
  z-index: 420;
}

.page-cv-edit .experience-company-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 15px;
}

.page-cv-edit .experience-company-label {
  color: #4b5563;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.page-cv-edit .experience-company-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
}

.page-cv-edit .experience-company-badges:empty {
  display: none;
}

.page-cv-edit .experience-company-help {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: #9ca3af;
}

.page-cv-edit .experience-company-empty {
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.45;
  color: #6b7280;
  list-style: none;
  cursor: default;
}

.page-cv-edit .experience-company-picker:not(.is-linked) .float-field fieldset::after {
  display: none !important;
}

.page-cv-edit #cv-experience-section .exp-row > .row > .experience-company-field {
  overflow: visible !important;
}

.page-cv-edit .experience-company-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.page-cv-edit .experience-company-badge--verified {
  color: #15803d;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}

.page-cv-edit .experience-company-badge--pending {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.page-cv-edit .experience-company-badge--rejected {
  color: #b42318;
  background: #fff5f5;
  border: 1px solid #fecaca;
}

.page-cv-edit .experience-company-picker input[data-company-input] {
  flex: 1 1 auto;
  min-width: 0;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  opacity: 1 !important;
}

.page-cv-edit .experience-company-picker .experience-company-display {
  position: absolute;
  left: 10px;
  right: 34px;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  overflow: hidden;
  color: #111827;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-cv-edit .experience-company-picker .experience-company-display[hidden],
.page-cv-edit .experience-company-picker:not(.is-linked):focus-within .experience-company-display {
  display: none !important;
}

.page-cv-edit .experience-company-picker.has-company-display input[data-company-input] {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.page-cv-edit .experience-company-picker.has-company-display:not(.is-linked):focus-within input[data-company-input] {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.page-cv-edit .experience-company-picker:not(.is-linked) input[data-company-input] {
  cursor: text;
}

.page-cv-edit .experience-company-picker .experience-company-input.is-readonly-linked {
  cursor: default;
  color: #111827;
}

.page-cv-edit .experience-company-picker.is-linked fieldset {
  border-color: #bbf7d0 !important;
  background: #f8fff9 !important;
}

.page-cv-edit .experience-company-dropdown .experience-company-item--manual {
  color: #6b7280;
  font-style: italic;
  border-top: 1px solid #f3f4f6;
}

.page-cv-edit .experience-company-manual-hint {
  padding: 8px 10px;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
}

.page-cv-edit .experience-company-unlink {
  align-self: flex-start;
  border: none;
  background: none;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  color: #1b64f2;
  cursor: pointer;
}

.page-cv-edit .experience-company-unlink:hover {
  color: #0f4fd0;
  text-decoration: underline;
}

/* ── CV Edit Hero (profil paneli + gemi banner) ── */
.page-cv-edit .cv-edit-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  min-height: 188px;
}

.page-cv-edit .cv-edit-hero__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px 14px 16px;
  background: #fff;
  border-right: 1px solid #f3f4f6;
}

.page-cv-edit .cv-edit-hero__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.page-cv-edit .cv-edit-hero__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef2f7;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.page-cv-edit .cv-edit-hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-cv-edit .cv-edit-hero__avatar svg {
  width: 32px;
  height: 32px;
}

.page-cv-edit .cv-edit-hero__avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1b64f2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(27, 100, 242, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}

.page-cv-edit .cv-edit-hero__avatar-edit:hover {
  background: #0f4fd0;
  transform: scale(1.04);
}

.page-cv-edit .cv-edit-hero__avatar-edit svg {
  width: 13px;
  height: 13px;
}

.page-cv-edit .cv-edit-hero__profile-name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
}

.page-cv-edit .cv-edit-hero__profile-name {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  letter-spacing: -0.01em;
}

.page-cv-edit .cv-edit-hero__verified {
  flex-shrink: 0;
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.page-cv-edit .cv-edit-hero__verified svg {
  width: 16px;
  height: 16px;
  display: block;
}

.page-cv-edit .cv-edit-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.page-cv-edit .cv-edit-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.page-cv-edit .cv-edit-hero__badge--type {
  background: #eef4ff;
  color: #1b64f2;
}

.page-cv-edit .cv-edit-hero__badge--verified {
  background: #ecfdf3;
  color: #16a34a;
}

.page-cv-edit .cv-edit-hero__badge--unverified {
  background: #fef2f2;
  color: #dc2626;
}

.page-cv-edit .cv-edit-hero__profile-email {
  margin: 2px 0 0;
  font-size: 10px;
  line-height: 1.35;
  color: #9ca3af;
  word-break: break-all;
}

.page-cv-edit .cv-edit-hero__banner {
  position: relative;
  min-width: 0;
  display: flex;
}

.page-cv-edit .cv-edit-hero__banner-bg {
  position: absolute;
  inset: 0;
  background-color: #001528;
  background-image: url('https://static.denizkariyer.cloud/img/banner.webp');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  pointer-events: none;
}

.page-cv-edit .cv-edit-hero__banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 21, 40, 0.94) 0%,
    rgba(0, 32, 60, 0.84) 36%,
    rgba(0, 43, 92, 0.58) 66%,
    rgba(0, 43, 92, 0.38) 100%
  );
}

.page-cv-edit .cv-edit-hero__banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px 20px;
  width: 100%;
  min-height: 188px;
  padding: 22px 20px;
  box-sizing: border-box;
}

.page-cv-edit .cv-edit-hero__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.page-cv-edit .cv-edit-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(134, 239, 172, 0.95);
}

.page-cv-edit .cv-edit-hero__status svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: #4ade80;
}

.page-cv-edit .cv-edit-hero__name {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-cv-edit .cv-edit-hero__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.page-cv-edit .cv-edit-hero__pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.page-cv-edit .cv-edit-hero__pill--role {
  background: rgba(27, 100, 242, 0.88);
  color: #fff;
  border: 1px solid rgba(147, 197, 253, 0.35);
}

.page-cv-edit .cv-edit-hero__pill--qual {
  background: rgba(92, 64, 20, 0.82);
  color: #fcd34d;
  border: 1px solid rgba(252, 211, 77, 0.28);
}

.page-cv-edit .cv-edit-hero__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.page-cv-edit .cv-edit-hero__contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.page-cv-edit .cv-edit-hero__contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}

.page-cv-edit .cv-edit-hero__stats {
  flex: 0 0 auto;
  align-self: center;
  min-width: 0;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stats {
  display: flex;
  align-items: stretch;
  gap: 10px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat {
  border-radius: 12px !important;
  overflow: hidden;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--completion {
  flex: 0 0 168px;
  width: auto;
  max-width: none;
  min-height: 118px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 38, 78, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px !important;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--completion .cv-page-head__stat-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10.5px;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--completion .completion-percentage {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--completion .progress-bar {
  height: 4px;
  margin: 2px 0 0;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--completion .progress-fill {
  background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--completion .completion-hint {
  margin: 0;
  font-size: 9.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--required.cv-required-progress-card {
  min-width: 220px;
  max-width: 248px;
  min-height: 118px;
  padding: 14px !important;
  border: none !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
  overflow: hidden;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--required .cv-required-progress-ring-wrap {
  width: 52px !important;
  height: 52px !important;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--required .cv-required-progress-ring {
  width: 52px !important;
  height: 52px !important;
}

.page-cv-edit .cv-edit-hero .cv-page-head__stat--required .cv-required-progress-value {
  font-size: 14px;
}

.page-cv-edit .cv-edit-hero .cv-required-progress-prefix {
  display: block;
  font-size: 10px;
  color: #6b7280;
  line-height: 1.3;
}

.page-cv-edit .cv-edit-hero .cv-required-progress-fraction {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  color: #1b64f2;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.page-cv-edit .cv-page-head__stat--required.is-complete .cv-required-progress-fraction,
.page-cv-edit .cv-edit-hero .cv-page-head__stat--required.is-complete .cv-required-progress-fraction {
  margin-top: 0;
  font-size: 11px;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
}

.page-cv-edit .cv-page-head__stat--required.is-complete .cv-required-progress-status-title {
  font-size: 10.5px;
  font-weight: 600;
}

.page-cv-edit .cv-edit-hero .cv-page-head__missing-link {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid #1b64f2;
  border-radius: 999px;
  background: #fff;
  font-size: 10.5px;
  font-weight: 600;
  color: #1b64f2;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease;
}

.page-cv-edit .cv-edit-hero .cv-page-head__missing-link:hover {
  background: #eef4ff;
  color: #0f4fd0;
  text-decoration: none;
}

.page-cv-edit .cv-edit-hero .cv-page-head__missing-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.page-cv-edit .cv-page-head__stat--completion .completion-hint {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  color: #9ca3af;
}

.page-cv-edit .cv-page-head__missing-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  font-size: 10.5px;
  font-weight: 600;
  color: #1b64f2;
  cursor: pointer;
}

.page-cv-edit .cv-page-head__missing-link svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1199px) {
  .page-cv-edit .cv-edit-hero__banner-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .page-cv-edit .cv-edit-hero__stats {
    width: 100%;
    align-self: stretch;
  }

  .page-cv-edit .cv-edit-hero .cv-page-head__stats {
    width: 100%;
    justify-content: flex-start;
  }

  .page-cv-edit .cv-edit-hero .cv-page-head__stat--completion,
  .page-cv-edit .cv-edit-hero .cv-page-head__stat--required.cv-required-progress-card {
    flex: 1 1 180px;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .page-cv-edit .cv-page {
    overflow-x: clip;
  }

  .page-cv-edit .cv-edit-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .page-cv-edit .cv-edit-hero__profile {
    border-right: none;
    border-bottom: 1px solid #f3f4f6;
    padding: 14px 12px;
  }

  .page-cv-edit .cv-edit-hero__banner {
    min-width: 0;
  }

  .page-cv-edit .cv-edit-hero__banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 12px;
    min-height: 0;
  }

  .page-cv-edit .cv-edit-hero__content {
    width: 100%;
    min-width: 0;
  }

  .page-cv-edit .cv-edit-hero__name {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .page-cv-edit .cv-edit-hero__pills {
    margin-bottom: 10px;
  }

  .page-cv-edit .cv-edit-hero__contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  .page-cv-edit .cv-edit-hero__contact {
    max-width: 100%;
    word-break: break-word;
  }

  .page-cv-edit .cv-edit-hero__stats {
    width: 100%;
    align-self: stretch;
  }

  .page-cv-edit .cv-edit-hero .cv-page-head__stats {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .page-cv-edit .cv-edit-hero .cv-page-head__stat--completion,
  .page-cv-edit .cv-edit-hero .cv-page-head__stat--required.cv-required-progress-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
  }

  .page-cv-edit .cv-edit-hero .cv-page-head__stat--completion {
    flex: none;
    padding: 12px;
  }

  .page-cv-edit .cv-edit-hero .cv-page-head__stat--completion .completion-percentage {
    font-size: 22px;
  }

  .page-cv-edit .cv-edit-hero .cv-page-head__stat--required.cv-required-progress-card {
    padding: 12px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
  }

  .page-cv-edit .cv-edit-hero .cv-page-head__stat--required.is-complete .cv-required-progress-fraction {
    font-size: 10.5px;
  }

  .page-cv-edit .cv-edit-hero .cv-page-head__required-cta,
  .page-cv-edit .cv-edit-hero .cv-required-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Profil fotoğrafı modalı (iyzico-style + Cropper) ── */
#universal-modal-overlay[data-modal-kind="avatar"],
#universal-modal-overlay:has(.is-avatar-modal),
#universal-modal-overlay:has(.dk-avatar-modal) {
  padding: 12px;
  background: rgba(17, 24, 39, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

#universal-modal-overlay[data-modal-kind="avatar"] .modal-content,
#universal-modal-overlay:has(.is-avatar-modal) .modal-content,
#universal-modal-overlay:has(.dk-avatar-modal) .modal-content {
  margin: 0;
  animation: none;
}

#universal-modal-overlay[data-modal-kind="avatar"] .modal-content,
.modal-content.is-avatar-modal,
.modal-content:has(.dk-avatar-modal) {
  width: min(calc(100vw - 24px), 860px);
  max-width: 860px;
  border-radius: 16px;
  border: 1px solid var(--dk-line, #e5e7eb);
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.1), 0 2px 6px rgba(16, 24, 40, 0.05);
  overflow: hidden;
}

.modal-content.is-avatar-modal .modal-header,
.modal-content:has(.dk-avatar-modal) .modal-header,
#universal-modal-overlay[data-modal-kind="avatar"] .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: auto;
  min-height: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #f3f4f6;
  background: #fff !important;
  color: #111827;
}

.modal-content.is-avatar-modal .modal-header h2,
.modal-content:has(.dk-avatar-modal) .modal-header h2,
#universal-modal-overlay[data-modal-kind="avatar"] .modal-header h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111827 !important;
  line-height: 1.35;
}

.modal-content.is-avatar-modal .modal-close,
.modal-content:has(.dk-avatar-modal) .modal-close,
#universal-modal-overlay[data-modal-kind="avatar"] .modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff !important;
  color: #6b7280 !important;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  backdrop-filter: none;
  transform: none;
}

.modal-content.is-avatar-modal .modal-close:hover,
.modal-content:has(.dk-avatar-modal) .modal-close:hover,
#universal-modal-overlay[data-modal-kind="avatar"] .modal-close:hover {
  background: #f9fafb !important;
  border-color: #dbeafe;
  color: #111827 !important;
  transform: none;
}

.modal-content.is-avatar-modal #universal-modal-body,
.modal-content:has(.dk-avatar-modal) #universal-modal-body {
  padding: 0;
  width: 100%;
  min-width: 0;
  overflow: visible;
  max-height: none;
}

.modal-content.is-avatar-modal #universal-modal-body > .modal-loading,
.modal-content:has(.dk-avatar-modal) #universal-modal-body > .modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  margin: 0;
  padding: 0;
  background: #fff;
}

.modal-content.is-avatar-modal #universal-modal-body > .modal-loading .modal-loading-icon img,
.modal-content:has(.dk-avatar-modal) #universal-modal-body > .modal-loading .modal-loading-icon img {
  width: 48px;
  height: 48px;
}

/* Global modal.css .modal-body { display:flex } override */
.modal-content.is-avatar-modal .modal-body,
.modal-content.is-avatar-modal .dk-avatar-modal,
.modal-content:has(.dk-avatar-modal) .dk-avatar-modal {
  display: block;
  width: 100%;
  min-width: 0;
  flex: none;
  gap: 0;
  padding: 0;
  overflow: visible;
  max-height: none;
}

.dk-avatar-modal {
  padding: 0;
}

.dk-avatar-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 0;
  width: 100%;
  min-width: 0;
  min-height: 420px;
}

.dk-avatar-modal__aside {
  padding: 20px 18px;
  border-right: 1px solid #f3f4f6;
  background: #fafbfc;
}

.dk-avatar-modal__illustration img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
}

.dk-avatar-modal__info {
  margin: 16px 0 12px;
  font-size: 11px;
  line-height: 1.55;
  color: #6b7280;
}

.dk-avatar-modal__tips {
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 11px;
  line-height: 1.5;
  color: #374151;
}

.dk-avatar-modal__tips li + li {
  margin-top: 6px;
}

.dk-avatar-modal__editor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  min-width: 0;
}

.dk-avatar-modal__stage {
  position: relative;
  height: 320px;
  min-height: 320px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f3f4f6;
  overflow: hidden;
}

.dk-avatar-modal input,
.dk-avatar-modal button {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  box-shadow: none !important;
}

.dk-avatar-modal input[type="file"],
.dk-avatar-modal__file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}

.dk-avatar-modal__change-wrap {
  display: flex;
  justify-content: flex-start;
}

.dk-avatar-modal__change-wrap[hidden] {
  display: none !important;
}

.dk-avatar-modal [data-avatar-edit-tools][hidden] {
  display: none !important;
}

.dk-avatar-modal input[type="range"] {
  display: block !important;
  width: 120px !important;
  min-width: 120px !important;
  height: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #1b64f2;
  cursor: pointer;
}

.dk-avatar-modal__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 300px;
  padding: 24px;
  text-align: center;
}

.dk-avatar-modal__empty[hidden] {
  display: none !important;
}

.dk-avatar-modal__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eef4ff;
  color: #1b64f2;
}

.dk-avatar-modal__empty-icon svg {
  width: 24px;
  height: 24px;
}

.dk-avatar-modal__empty-title {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #111827;
}

.dk-avatar-modal__empty-text {
  margin: 0;
  font-size: 11px;
  color: #6b7280;
}

.dk-avatar-modal__pick-btn,
.dk-avatar-modal__change-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eef4ff;
  color: #1b64f2;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.dk-avatar-modal__pick-btn:hover,
.dk-avatar-modal__change-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.dk-avatar-modal__crop-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #111827;
}

.dk-avatar-modal__crop-wrap:not(:has(.cropper-container)) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dk-avatar-modal__crop-wrap:not(:has(.cropper-container)) .dk-avatar-modal__crop-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dk-avatar-modal__crop-wrap[hidden] {
  display: none !important;
}

.dk-avatar-modal__crop-wrap .cropper-container {
  width: 100% !important;
  height: 100% !important;
}

.dk-avatar-modal__crop-wrap .cropper-wrap-box,
.dk-avatar-modal__crop-wrap .cropper-canvas,
.dk-avatar-modal__crop-wrap .cropper-drag-box,
.dk-avatar-modal__crop-wrap .cropper-crop-box,
.dk-avatar-modal__crop-wrap .cropper-view-box {
  border-radius: 0;
}

.dk-avatar-modal__crop-wrap .cropper-view-box {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-color: rgba(255, 255, 255, 0.85);
}

.dk-avatar-modal__crop-image {
  display: block;
  max-width: none;
  width: 100%;
}

.dk-avatar-tool-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  padding: 0 !important;
  border: none !important;
  border-radius: 7px;
  background: transparent !important;
  color: #374151 !important;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  box-shadow: none !important;
  pointer-events: auto !important;
  z-index: 2;
}

.dk-avatar-modal__toolbar,
.dk-avatar-modal__toolbar-group,
.dk-avatar-modal__change-btn {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
}

.dk-avatar-modal input[type="range"] {
  position: relative !important;
  z-index: 2;
  pointer-events: auto !important;
}

.dk-avatar-tool-btn:hover {
  background: #f3f4f6 !important;
  color: #111827 !important;
}

.dk-avatar-tool-btn svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}

.dk-avatar-modal__loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  z-index: 5;
}

.dk-avatar-modal__loader[hidden] {
  display: none !important;
}

.dk-avatar-modal__loader::after {
  content: "";
  width: 28px;
  height: 28px;
  border: 2px solid #d1d5db;
  border-top-color: #1b64f2;
  border-radius: 50%;
  animation: dk-avatar-spin .6s linear infinite;
}

@keyframes dk-avatar-spin {
  to { transform: rotate(360deg); }
}

.dk-avatar-modal--loading {
  pointer-events: none;
}

.dk-avatar-modal__stage--loading {
  display: grid;
  place-items: center;
  background: #f3f4f6;
}

.dk-avatar-modal__stage--loading .dk-avatar-modal__loader {
  position: static;
  inset: auto;
  display: grid;
  place-items: center;
  background: transparent;
}

.dk-avatar-modal__skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, #eef2f7 0%, #f8fafc 50%, #eef2f7 100%);
  background-size: 200% 100%;
  animation: dk-avatar-shimmer 1.2s ease-in-out infinite;
}

.dk-avatar-modal__skeleton--illustration {
  width: 100%;
  max-width: 200px;
  height: 120px;
  margin: 0 auto 16px;
}

.dk-avatar-modal__skeleton--line {
  height: 10px;
  margin-bottom: 10px;
}

.dk-avatar-modal__skeleton--short {
  width: 72%;
}

@keyframes dk-avatar-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.dk-avatar-modal__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dk-avatar-modal__toolbar[hidden] {
  display: none !important;
}

.dk-avatar-modal__toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.dk-avatar-modal__notice {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  font-size: 11px;
  line-height: 1.45;
  color: #92400e;
}

.dk-avatar-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.dk-avatar-modal__footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.dk-avatar-modal__delete {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff;
  color: #dc2626;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.dk-avatar-modal__delete:hover {
  background: #fef2f2;
}

.dk-avatar-modal__cancel {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.dk-avatar-modal__cancel:hover {
  background: #f9fafb;
}

.dk-avatar-modal__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 96px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: #1b64f2;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}

.dk-avatar-modal__save:hover:not(:disabled) {
  background: #0f4fd0;
}

.dk-avatar-modal__save:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  #universal-modal-overlay:has(.is-avatar-modal),
  #universal-modal-overlay:has(.dk-avatar-modal) {
    padding: 8px;
  }

  .modal-content.is-avatar-modal,
  .modal-content:has(.dk-avatar-modal) {
    width: calc(100vw - 16px);
  }

  .modal-content.is-avatar-modal #universal-modal-body > .modal-loading,
  .modal-content:has(.dk-avatar-modal) #universal-modal-body > .modal-loading {
    min-height: 320px;
  }

  .dk-avatar-modal__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .dk-avatar-modal__aside {
    border-right: none;
    border-bottom: 1px solid #f3f4f6;
    padding: 16px;
  }

  .dk-avatar-modal__tips {
    display: none;
  }

  .dk-avatar-modal__stage,
  .dk-avatar-modal__empty,
  .dk-avatar-modal__crop-wrap {
    min-height: 240px;
    height: 240px;
  }

  .dk-avatar-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .dk-avatar-modal__footer-actions {
    width: 100%;
  }

  .dk-avatar-modal__save,
  .dk-avatar-modal__cancel {
    flex: 1 1 auto;
  }
}
