.content-container,
div#tabList {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn--add,
.btn2,
.cv-main-header h2 {
  letter-spacing: -0.025em;
}

.hero,
.progress-bar,
.tab-button,
legend {
  overflow: hidden;
}

.cv-section-title,
.placeholder,
.profile-name,
.profile-title,
.tab-button,
h3.info-title,
legend {
  white-space: nowrap;
}

.actions-buttons-container .btn2:disabled,
input#cv-email {
  cursor: not-allowed;
}

.sidebar {
  position: sticky;
  width: 230px;
  top: 90px;
  align-self: flex-start;
  height: fit-content;
  margin-top: 1rem;
}

.right-bar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 230px;
}

.cv-export-btn,
.date-picker,
.float-field fieldset.has-char-counter,
.form-group.required-focus,
.header-content,
.salary-input-wrapper,
.select-wrapper {
  position: relative;
}

#cv-stcw-certificates-section .content-container,
.card-body,
.cv-container {
  margin: 0 auto;
}

body,
html {
  height: 100%;
  overflow-y: scroll;
  background: radial-gradient(1000px 520px at 8% -5%, rgba(30, 58, 138, 0.09), transparent 55%), radial-gradient(800px 420px at 96% 8%, rgba(43, 138, 159, 0.1), transparent 48%), linear-gradient(175deg, #eef3fa 0%, #f8fafc 42%, #ffffff 100%);

}

.layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.cv-main-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  color: #1e3a8a;
  border-radius: 8px 8px 0 0;
}

.header-content,
.section-header {
  align-items: center;
  display: flex;
}

input#cv-email {
  background: #e3e3e3;
  top: -9px;
  border-radius: 6px;
  color: #8c8c8c;
}

.section-header {
  gap: 8px;
  font-weight: 600;
  color: #2b4c7e;
}

.cv-main-header h2 {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
}

.btn--add span.label {
  font-size: 0.775rem;
}

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

.cv-container {
  max-width: 1200px;
  padding: 18px;
}

div#tabList {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #fafafd;
  border: 1px solid #dadfe4;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.header-content {
  justify-content: space-between;
  width: 1300px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foregrond-light);
}

.card-icon {
  width: 24px;
  height: 24px;
}

.check-icon {
  color: #4ade80;
}

.profile-card,
.tabs {
  width: 100%;
  display: flex;
  gap: 20px;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab-button {
  padding: 0.75rem 0.5rem;
  background-color: var(--muted);
  color: var(--muted-foreground);
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.85rem;
  text-overflow: ellipsis;
}

.tab-button.active {
  background-color: var(--tertiary);
  color: var(--tertiary-foreground);
}

.float-field,
.tab-content {
  position: relative;
  width: 100%;
}

.sections-card {
  background: var(--section-bg-1);
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 0.1rem solid var(--border-color);
  padding: 0;
}

.sections-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem;
}

.date-icon,
.plus-icon {
  width: 1rem;
  height: 1rem;
}

.tab-pane {
  margin-top: 1rem;
}

.table-header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: #475569;
}

.form-grid,
.form-row {
  display: grid;
  gap: 1.5rem;
}

.table-cell {
  text-align: left;
}

.btn-add,
.section-title,
.stat-item {
  text-align: center;
}

.form-row {
  grid-template-columns: repeat(1, 1fr);
  margin-bottom: 1.5rem;
}

.form-grid {
  grid-template-columns: repeat(1, 1fr);
}

.add-button,
.status {
  display: flex;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

@media (min-width: 768px) {

  .form-row,
  .tab-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.full-width {
  grid-column: 1/-1;
  height: auto !important;
}

.required {
  color: var(--destructive);
  margin-right: 0.25rem;
}

.date-icon,
.select-wrapper::after {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  pointer-events: none;
  color: #64748b;
  transform: translateY(-50%);
}

.select-wrapper::after {
  content: "▼";
  font-size: 0.75rem;
}

select {
  appearance: none;
  padding-right: 2.5rem;
}

.add-button-container {
  display: flex;
  justify-content: flex-start;
  margin: 1rem 0;
}

.add-button {
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.625rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-button:hover {
  background-color: #1e3a8a;
}

.form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  width: 100%;
  padding: 20px;
}

.footer-right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.footer-left {
  width: 50%;
}

.save-button:hover {
  background-color: #15803d;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status {
  align-items: center;
}

.content-container {
  margin: auto;
  background: #fff;
  border-radius: var(--radius);
  border: 0.1rem solid var(--border-color);
}

.sub-container {
  background-color: #fafafd;
  padding: 25px;
}

.section-title {
  font-size: var(--title-size-1);
  color: var(--title-1);
  margin-bottom: 1rem;
  position: relative;
}

.cv-label,
.oldlabel {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0;
  left: 11px;
  pointer-events: none;
  transition: 0.2s;
  background-color: #fafafd;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--title-after-1);
  border-radius: 2px;
}

.section-title i {
  font-size: 20px;
}

.oldlabel {
  display: block;
  position: absolute;
  top: 10px;
  margin-left: 26px;
}

.btn--add,
.btn-danger,
.cv-label,
.row,
.sil-button {
  display: flex;
}

.cv-label {
  position: absolute;
  top: 15px;
  align-items: flex-end;
  gap: 5px;
}

.btn--add,
.btn-add,
.form-group input[id="birthDate"]+.cv-label,
.form-group input[id="cv-lastname"]+.cv-label,
.form-group input[id="cv-name"]+.cv-label,
.form-group input[name="uyruk"]+.cv-label,
h3 {
  font-weight: 600;
}

.placeholderlo::after {
  content: "*";
  color: red;
  margin-left: 4px;
}

.row {
  gap: 10px;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  margin-bottom: 1rem;
  justify-content: flex-end;
  flex-direction: column;

}

.sub-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  gap: 10px;
}

button.btn2.add-btn.is-loading span {
  display: none;
}

button.btn2.delete-btn.is-loading span {
  display: none;
}

.form-group {
  margin-bottom: 0;
  width: 100%;
}

.btn-danger {
  background-color: #dc3545;
  color: #fff;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.btn-add {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: #e9f2ff;
  color: #007bff;
  border: 2px dashed #007bff;
  border-radius: var(--radius);
  cursor: pointer;
}

.btn--add {
  align-self: center;
  padding: 0.625rem 1rem;
  color: #374151;
  border: 0.1rem dashed #cbd5e1;
  border-radius: 8px;
  font-size: 0.775rem;
  cursor: pointer;
  align-items: center;
  gap: 4px;
  transition: 0.3s;
  height: 34px;
  background-color: transparent;
}

.btn--add:hover .icon {
  transform: scale(1.2) rotate(5deg);
}

.btn--add:hover {
  background-color: #e2e8f0;
  box-shadow: 0 5px 5px -1px rgb(0 0 0 / 8%);
}

.btn--add .icon {
  transition: 0.3s;
  width: 15px;
  height: 15px;
}

.action-buttons {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
}

.btn-secondary {
  background-color: #adb5bd;
  color: #fff;
}

.btn-primary {
  background-color: #0d6efd;
  color: #fff;
}

.sil-button {
  flex-direction: column;
  justify-content: flex-end;
}

.sil-button button {
  align-self: flex-end;
}

@media (max-width: 768px) {
  body {
    font-size: 11px !important;
  }

  .btn2 {
    font-size: 0.675rem !important;
    padding: 0.425rem 0.5rem !important;
  }

  .info-card-container {
    display: none !important;
  }

  .sidebar {
    position: static;
    margin-top: 0;
    display: none;
  }

  .right-bar {
    width: 100%;
    position: static;
  }

  .layout {
    flex-direction: column-reverse;
  }

  .form-group {
    height: auto;
  }

  .layout {
    gap: 1px;
  }

  .cv-required-progress {
    display: none;
  }

  .sections-card {
    display: none;
  }

  .cv-completion {
    display: none;
  }

  .photo-placeholder {
    width: 5rem !important;
    height: 5rem !important;
  }

  .photo-placeholder img {
    width: 4rem !important;
    height: 4rem !important;
  }

  .avatar-edit-button {
    bottom: 0 !important;
    right: 0 !important;
  }

  .row {
    flex-direction: column;
  }

  .action-buttons {
    justify-content: center;
  }

  .btn-add {
    font-size: 15px;
  }

  .card-body {
    align-self: flex-start;
  }

  .card-header,
  .profile-card {
    gap: 5px !important;
  }

  .tabs {
    width: 100%;
    gap: 10px;
  }

  div#tabList {
    position: sticky;
    top: 0;
    width: 30%;
  }

  .tab-button {
    font-size: 0.65rem;
  }

  .tab-content {
    width: 70%;
  }
}

.profile-picture-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.profile-picture-circle {
  width: 120px;
  height: 120px;
  background-color: #f1f3f5;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-picture-circle img {
  width: 60px;
  height: 60px;
  opacity: 0.5;
}

.upload-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
}

.footer-info {
  border-top: 1px solid #e2e8f0;
  margin-top: 1rem;
}

.footer-info p {
  font-size: 12px;
  color: #64748b;
  margin-top: 5px;
}

.float-field.loading,
.float-field.success {
  position: relative;
}

/* LOADING */
.float-field::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 55%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #ccc;
  border-top-color: #63bdf1;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

/* loading aktif */
.float-field.loading::before {
  opacity: 1;
  animation: spin 0.6s linear infinite;
}

/* success olunca loading yumuşak kaybolsun */
.float-field.success::before {
  opacity: 0;
  animation: none;
}

/* SUCCESS SVG */
.float-field::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 58%;
  width: 24px;
  height: 24px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) scale(0.82);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path stroke='none' d='M0 0h24v24H0z' fill='none'/>\
<path d='M10 20.777a8.942 8.942 0 0 1 -2.48 -.969' />\
<path d='M14 3.223a9.003 9.003 0 0 1 0 17.554' />\
<path d='M4.579 17.093a8.961 8.961 0 0 1 -1.227 -2.592' />\
<path d='M3.124 10.5c.16 -.95 .468 -1.85 .9 -2.675l.169 -.305' />\
<path d='M6.907 4.579a8.954 8.954 0 0 1 3.093 -1.356' />\
<path d='M9 12l2 2l4 -4' />\
</svg>");
}

/* success aktif */
.float-field.success::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.float-field.loading .salary-input-wrapper .currency-symbol,
.float-field.success .salary-input-wrapper .currency-symbol {
  display: none;
}

.dropdown-box .selected-item:has(.float-field.loading)::after,
.dropdown-box .selected-item:has(.float-field.success)::after {
  content: none !important;
}

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

#stcw-list .float-field,
.iti {
  width: 100%;
}

.iti input {
  background: 0 0;
}

.avatar-edit-button {
  width: 26px;
  height: 26px;
  border: 2px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  background: linear-gradient(90deg, #2563eb 0, #0891b2 50%, #0d9488 100%);
  color: #fff;
  padding: 1rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-container {
  margin: 0 auto;
  padding: 0 1rem;
  gap: 3rem;
  align-items: center;
}

.profile-preview,
.stat-icon {
  backdrop-filter: blur(10px);
  padding: 1rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  color: #bfdbfe;
}

.hero-description {
  font-size: 1rem;
  color: #dbeafe;
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  color: #dbeafe;
}

.profile-preview {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.card-header {
  position: relative;
  display: flex;
  gap: 30px;
  align-items: center;
  width: 20%;
}

.profile-photo {
  position: relative;
  width: 5rem;
  height: 5rem;
}

.photo-placeholder {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  overflow: hidden;
  justify-content: center;
  border: 2px solid #cbd5e1;
  align-items: center;
}

.photo-placeholder img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
}

.user-icon {
  width: 2rem;
  height: 2rem;
  color: #fff;
}

.avatar-edit-button {
  position: absolute;
  bottom: -0.15rem;
  right: -0.25rem;
  background: #fff;
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.avatar-edit-button:hover {
  background: #f9fafb;
}

.avatar-edit-button img {
  width: 0.75rem;
  height: 0.75rem;
}

.bcr {
  top: 0;
  left: 48%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-fieldset {
  border: 2px solid #fff;
  border-radius: 0.625rem;
  position: relative;
  color: #fff;
  min-width: 11.25rem;
  background: rgba(255, 255, 255, 0.1);
}

.input-fieldset input {
  background: 0 0;
  border: none;
  outline: 0;
  color: #fff;
  font-size: 0.875rem;
  width: 100%;
  padding: 0 0.625rem;
}

.input-legend {
  font-size: 0.75rem;
  padding: 0 0.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.3125rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: flex-start;
}

.profile-name {
  font-size: 1rem;
  font-weight: 600;
}

.completion-label,
.profile-title {
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 800;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

span.completion-label svg {
  color: #ff9800;
}

.profile-title {
  color: #dbeafe;
}

.completion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.completion-percentage {
  font-size: 0.875rem;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  height: 0.5rem;
}

.progress-fill {
  background: linear-gradient(90deg, #fbbf24 0, #f97316 100%);
  height: 100%;
  width: 91%;
  border-radius: 9999px;
}

.completion-text {
  font-size: 0.75rem;
}

.cv-export {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.floating-icon {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: #fbbf24;
  color: #78350f;
  border-radius: 50%;
  padding: 0.75rem;
  animation: 1s infinite bounce;
}

@keyframes bounce {

  0%,
  100%,
  20%,
  53%,
  80% {
    transform: translateY(0);
  }

  40%,
  43% {
    transform: translateY(-30px);
  }

  70% {
    transform: translateY(-15px);
  }

  90% {
    transform: translateY(-4px);
  }
}

.info-card-container {
  display: flex;
  gap: 10px;
  width: 85%;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  width: 100%;
}

h3.info-title {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-bottom: 0.01rem solid rgba(255, 255, 255, 0.2);
}

p.info-value {
  font-size: 0.775rem;
  padding: 1rem;
}

.currency-symbol {
  position: absolute;
  right: 10px;
  top: 40%;
  transform: translateY(-50%);
}

.salary-input-wrapper input {
  padding-left: 20px;
}

#cv-expected-salary::-webkit-inner-spin-button,
#cv-expected-salary::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#cv-expected-salary {
  -moz-appearance: textfield;
}

.required {
  color: var(--required-color);
  font-weight: 600;
  margin-left: 0.25rem;
  font-size: 0.875rem;
  animation: 2s infinite pulse;
}

.section-item {
  padding: 0 !important;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.form-group input[id="birthDate"]:focus,
.form-group input[id="cv-lastname"]:focus,
.form-group input[id="cv-name"]:focus,
.form-group input[name="uyruk"]:focus {
  border-color: var(--required-color);
}

.form-group input[id="birthDate"].error,
.form-group input[id="cv-lastname"].error,
.form-group input[id="cv-name"].error,
.form-group input[name="uyruk"].error {
  border-color: var(--required-color) !important;
  animation: 0.5s ease-in-out shake;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.form-group input[id="birthDate"].success,
.form-group input[id="cv-birn-place"].success,
.form-group input[id="cv-lastname"].success,
.form-group input[id="cv-name"].success,
.form-group input[name="uyruk"].success {
  border-color: var(--success-color) !important;
}

.required-error-message {
  position: absolute;
  top: 70%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--required-color), #b91c1c);
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.5rem;
  font-weight: 500;
  z-index: 99;
  animation: 0.3s ease-out slideDownError;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

@keyframes slideDownError {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.required-success-message {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--success-color), #047857);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 100;
  animation: 0.3s ease-out slideDownSuccess;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.required-field-indicator,
.required-notification .close-btn {
  position: absolute;
  color: #fff;
  width: 20px;
  height: 20px;
  align-items: center;
  display: flex;
}

@keyframes slideDownSuccess {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.required-field-indicator {
  top: -8px;
  right: -8px;
  background: var(--required-color);
  border-radius: 50%;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  animation: 2s infinite bounce;
  z-index: 10;
}

@keyframes bounce {

  0%,
  100%,
  20%,
  50%,
  80% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.form-group.required-focus::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
      var(--required-color),
      #f87171,
      var(--required-color));
  border-radius: 10px;
  z-index: -1;
  animation: 2s ease-in-out infinite alternate required-glow;
}

@keyframes required-glow {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.8;
  }
}

.btn--save.has-required-errors {
  background: var(--warning-color);
  animation: 1s infinite pulse-warning;
}

@keyframes pulse-warning {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.required-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--required-color), #b91c1c);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
  z-index: 10000;
  animation: 0.3s slideInNotification;
  max-width: 350px;
}

.delete-btn,
fieldset {
  position: relative;
}

@keyframes slideInNotification {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.required-notification h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.required-notification p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
}

.required-notification .close-btn {
  top: 8px;
  right: 12px;
  background: 0 0;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  justify-content: center;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1rem;
  font-size: 0.7rem !important;
}

.btn2,
.cv-export {
  gap: 8px;
  display: flex;
  justify-content: center;
}

.form-content {
  padding: 15px;
}

.cv-section-title {
  font-size: 13px;
  font-weight: 500;
  color: #797979;
}

.divider {
  flex-grow: 1;
  height: 2px;
  background-color: #dcdcdc;
}

.btn2 {
  align-self: center;
  padding: 0.625rem 1rem;
  background: linear-gradient(135deg, #10b981 0, #059669 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn2:hover {
  background: linear-gradient(135deg, #059669 0, #047857 100%);
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.cv-export-btn::after,
.cv-export-btn::before {
  position: absolute;
  left: 50%;
  background: rgba(15, 23, 42, 0.94);
  opacity: 0;
  z-index: 99;
  pointer-events: none;
}

.cv-export-btn::after {
  content: attr(data-label);
  bottom: -22px;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: #f9fafb;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.8);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out;
}

.delete-btn,
input:focus {
  box-shadow: none;
}

.cv-export-btn::before {
  content: "";
  bottom: -10px;
  transform: translateX(-50%) translateY(2px);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform-origin: center;
  rotate: 45deg;
  transition: opacity 0.18s ease-out;
}

.add-btn:hover,
.delete-btn {
  background: 0 0;
  padding: 0;
}

.cv-export-btn:focus-visible::after,
.cv-export-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cv-export-btn:focus-visible::before,
.cv-export-btn:hover::before {
  opacity: 1;
}

.btn2 .icon {
  transition: 0.3s;
  width: 16px;
  height: 16px;
}

.btn2:hover .icon {
  transform: scale(1.2) rotate(5deg);
}

.add-btn,
.delete-btn:hover,
.refresh-btn,
.refresh-btn:hover {
  padding: 0;
  background: 0 0;
  box-shadow: none;
}

.add-btn:hover,
fieldset:hover {
  box-shadow: 0 5px 5px -1px rgb(0 0 0 / 8%);
}

.delete-btn .icon {
  color: red;
}

.add-btn .icon {
  color: #00ff18;
}

.refresh-btn .icon {
  color: #63bdf1;
}

.actions-buttons-container {
  display: flex;
  gap: 8px;
  border-radius: 6px;
  margin-top: 5px;
}

.actions-buttons-container .btn2 {
  align-self: center;
  padding: 0.625rem 1rem;
  color: #374151;
  border: 0.1rem dashed #cbd5e1;
  border-radius: 8px;
  font-size: 0.775rem;
  cursor: pointer;
  align-items: center;
  gap: 4px;
  transition: 0.3s;
  height: 34px;
  background-color: transparent;
  width: 95px;
}

.actions-buttons-container .btn2:hover:not(:disabled),
.actions-buttons-container .refresh-btn:hover {
  background-color: #e2e8f0;
}

.checkbox {
  padding-left: 10px;
}

.row:has(input[type="checkbox"]:not(:checked)) .input-icon-wrapper p {
  color: #999;
}

.row:has(input[type="checkbox"]:checked) .input-icon-wrapper p {
  color: inherit;
}

span.input-icon-wrapper p {
  padding: 20px;
  font-size: 14px;
  border-radius: 6px;
  white-space: normal;
  word-break: break-word;
  user-select: pointer;
}

div:where(.swal2-container) {
  z-index: 20060 !important;
}

.scroll-section {
  scroll-margin-top: 90px;
}

.exp-row {
  background: #f8fafc;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.form-content-sub,
.stcw .row {
  margin-bottom: 10px;
  background: #fff;
}

.form-content-sub {
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #dadfe4;
}

@media (max-width: 768px) {
  .sub-row {
    flex-direction: column;
  }

  .actions-buttons-container {
    justify-content: flex-end;
  }

  .form-grid,
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .bcr {
    position: static;
    margin-top: 2rem;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .hero-content,
  .nav,
  .progress-card,
  .section-icon {
    display: none;
  }

  .toggle-container {
    margin: 0 10px;
  }

  .row,
  .section-title {
    margin-bottom: 1rem;
  }

  .toggle-button {
    height: 30px;
    width: 69px;
  }

  .toggle-circle.dark {
    transform: translateX(37px);
  }

  .profile-img {
    width: 30px;
    height: 30px;
  }

  .card-body,
  .card-header {
    width: 100%;
  }

  .profile-link {
    font-size: 0;
    gap: 0;
  }

  .form-content {
    padding: 5px;
  }

  .hero,
  .profile-preview {
    padding: 0.5rem;
  }

  .hero-container,
  .span.input-icon-wrapper p {
    padding: 0;
  }

  .info-card-container {
    flex-direction: column;
  }

  .sidebar {
    flex-direction: row;
    z-index: 999;
    top: 80px;
  }

  .sections-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 0.5rem;
  }

  .section-item span {
    font-size: 0.675rem;
    white-space: nowrap;
  }

  .card-body {
    display: flex;
    flex-direction: column;
  }

  .row {
    align-items: stretch;
    align-content: stretch;
  }

  span.input-icon-wrapper p {
    white-space: normal;
    padding: 0;
  }

  .form-content.stcw .row {
    flex-direction: row;
  }

  .check {
    top: 0 !important;
  }

  .cv-container {
    max-width: 100% !important;
    padding: 10px;
  }

  #cv-education-section .content-container .form-section-container .form-content .row input,
  #cv-experience-section .content-container .form-section-container .form-content .row input,
  #cv-seaman-meds-section .content-container .form-section-container .form-content .row input,
  .endorsement-container .form-content-sub .row input,
  .sufficiency-container .form-content-sub .row input {
    background: #fff;
    padding: 13px !important;
  }
}

.check {
  top: 20px;
}

#cv-stcw-certificates-section .flatpickr-date[disabled] {
  cursor: not-allowed;
  user-select: none;
}

#cv-stcw-certificates-section .float-field:has(.flatpickr-date[disabled]) {
  opacity: 0.6;
  cursor: not-allowed;
}

#cv-stcw-certificates-section .float-field:has(.flatpickr-date[disabled]) .input-icon {
  filter: grayscale(100%) brightness(80%);
  opacity: 0.6;
}

.stcw .row {
  gap: 12px 16px;
  padding: 10px 14px;
  background: var(--stcw-bg);
  border: 1px solid var(--stcw-border);
  border-radius: 10px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background-color 0.18s;
}

.stcw .row .checkbox,
.stcw-dates-wrapper {
  flex: 0 0 auto;
}

:root {
  --required-color: #dc2626;
  --required-bg: #fef2f2;
  --required-border: #fca5a5;
  --success-color: #059669;
  --success-bg: #f0fdf4;
  --success-border: #86efac;
  --warning-color: #d97706;
  --warning-bg: #fffbeb;
  --warning-border: #fed7aa;
  --border-color: #e2e8f0;
  --active-color: #0096c7;
  --success-color: #28dc4c;
  --stcw-bg: #f9fafb;
  --stcw-border: #e5e7eb;
  --stcw-border-strong: #d1d5db;
  --stcw-accent: #0ea5e9;
  --stcw-accent-soft: rgba(14, 165, 233, 0.12);
  --stcw-text: #111827;
  --stcw-muted: #6b7280;
  --stcw-danger: #ef4444;
}

fieldset {
  border: 0.1rem solid var(--border-color);
  border-radius: 8px;
  padding: 20px 5px;
  transition: border-color 0.25s;
}

input,
textarea {
  width: 100%;
  font-size: 0.775rem;
  border: none;
  background: 0 0;
  outline: 0;
  left: 0;
}

.dk-char-counter,
.edit-email,
.placeholder,
input {
  position: absolute;
}

.dropdown-box fieldset input {
  transition:
    background 0.3s,
    padding-left 0.3s,
    filter 0.3s,
    color 0.3s;
}

.dropdown-box fieldset input:focus {
  background: url("https://static.denizkariyer.cloud/img/search2.svg") 10px center/16px no-repeat;
  padding-left: 30px;
}

.float-field:has(input:focus) fieldset {
  border-width: 0.1rem;
  border-color: var(--active-color) !important;
}

.float-field.active fieldset {
  border-color: #4ad6084f;
  border-width: 0.1rem;
}

input {
  top: -8px;
  padding: 1rem;
}

.numInputWrapper input {
  position: static;
}

textarea {
  top: -20px;
  position: relative;
}

.dk-char-counter {
  inset-inline-end: 10px;
  inset-block-end: 10px;
  font-size: 12px;
  line-height: 1;
  color: rgba(15, 23, 42, 0.65);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 4px 8px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.dk-char-counter.is-low {
  color: rgba(234, 88, 12, 0.95);
  border-color: rgba(234, 88, 12, 0.25);
}

.dk-char-counter.is-zero {
  color: rgba(220, 38, 38, 0.95);
  border-color: rgba(220, 38, 38, 0.3);
}

#cv-adres {
  resize: none;
}

legend {
  padding: 0;
  font-size: 12px;
  color: #1e3a8a;
  max-width: 0;
  transform: translateX(5px);
  transition: max-width 0.25s;
  display: flex;
  align-items: center;
  z-index: 1;
  position: relative;
}

.float-field.active legend {
  max-width: 200px;
  padding-right: 15px;
  z-index: 9;
  color: #1e3a8a;
  font-weight: 700;
}

.placeholder {
  top: 8px;
  left: 10px;
  font-size: 0.7rem;
  color: #999;
  pointer-events: none;
  transition: 0.25s;
  display: flex;
  z-index: 99;
}

.float-field.active .placeholder {
  opacity: 0;
  transform: translateY(-35%);
}

.btn--add.is-loading::after,
.btn2.add-btn.is-loading::after {
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  animation: 0.8s linear infinite dk-spinner;
  content: "";
}

.input-icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  pointer-events: none;
  filter: invert(45%) sepia(90%) saturate(400%) hue-rotate(150deg);
  margin-right: 4px;
}

.edit-email {
  background: linear-gradient(to right, #0096c7, #63bdf1);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  right: 9px;
  top: 3%;
  border-radius: 8px;
  padding: 0.345rem;
}

.edit-email img {
  width: 16px;
  height: 16px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.edit-email:hover img {
  transform: scale(1.2);
  opacity: 0.8;
}

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

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.6);
  }

  20%,
  80% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.btn2.add-btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn2.add-btn svg {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.15s;
}

.btn2.add-btn.is-loading svg {
  visibility: hidden;
  opacity: 0;
}

.btn2.add-btn.is-loading::after {
  position: absolute;
  border-radius: 999px;
  border: 2px solid #64748b;
  border-top-color: transparent;
  color: #0ff;
}

#universal-modal-body>.modal-loading {
  box-sizing: border-box;
  width: 100%;
  min-height: min(510.81px, calc(100vh - 200px));
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

@media (max-width: 768px) {
  #universal-modal-body>.modal-loading {
    min-height: min(320px, calc(100vh - 140px));
    padding: 20px 16px;
  }
}

#universal-modal-body .modal-loading-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#universal-modal-body .modal-loading-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  animation: 1s linear infinite modal-loading-spin;
}

#universal-modal-body .modal-loading-text {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

@keyframes modal-loading-spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.btn--add.is-loading {
  position: relative;
  pointer-events: none;
}

.btn--add.is-loading .icon,
.btn--add.is-loading .label,
.btn--add.is-loading svg,
.btn--add.is-loading>*,
.btn2.delete-btn.is-loading .icon {
  opacity: 0;
}

.btn--add.is-loading::after {
  position: absolute;
  border-radius: 999px;
  border: 2px solid #1e3a8a;
  border-top-color: #00000000;
  z-index: 1;
}

@keyframes dk-spinner {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#cv-education-section .content-container .form-section-container .form-content>.row,
#cv-experience-section .content-container .form-section-container .form-content>.row,
#cv-seaman-meds-section .content-container .form-section-container .form-content>.row,
.endorsement-container .form-content-sub .row,
.sufficiency-container .form-content-sub .row {
  background: #f8fafc;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  flex-direction: row;
}

#cv-education-section .content-container .form-section-container .form-content .row input,
#cv-experience-section .content-container .form-section-container .form-content .row input,
#cv-seaman-meds-section .content-container .form-section-container .form-content .row input,
.endorsement-container .form-content-sub .row input,
.sufficiency-container .form-content-sub .row input {
  background: #fff;
  padding: 0.9rem;
  border-radius: 5px;
}

.phone-code-field fieldset {
  align-items: center;
}

.phone-code-field .phone-code-flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  position: absolute;
  top: 9px;
  margin-left: 7px;
}

.phone-code-field input {
  top: 8px;
  left: 10px;
  width: 100%;
  padding: 0 4px;
}

.phone-code-field fieldset input:focus {
  background: 0 0 !important;
  padding-left: 4px !important;
}

#cv-stcw-certificates-section .photo-form-warning {
  margin: 0 0 12px;
  color: var(--stcw-muted);
}

#cv-stcw-certificates-section .photo-form-warning small {
  font-size: 0.82rem;
}

#stcw-list.form-content.stcw {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#stcw-list .row[data-stcw-id] {
  gap: 12px 16px;
  padding: 10px 14px;
  background: var(--stcw-bg);
  border: 1px solid var(--stcw-border);
  border-radius: 10px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background-color 0.18s;
}

#stcw-list .row[data-stcw-id]:hover {
  border-color: var(--stcw-border-strong);
  background-color: #fefefe;
  box-shadow: 0 0 0 1px var(--stcw-accent-soft);
}

#stcw-list .row.mandatory {
  border-color: var(--stcw-accent);
  background: linear-gradient(90deg,
      rgba(14, 165, 233, 0.08),
      rgba(14, 165, 233, 0.01));
}

#stcw-list .row[data-stcw-id] label.checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* disabled: arkaplan yok */
#stcw-list .row[data-stcw-id] label.checkbox input[disabled]+.check {
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  /* yıldız net görünsün */
}

#stcw-list .row[data-stcw-id] label.checkbox input[disabled]+.check::before {
  content: "*";
  position: absolute;
  right: 0px;
  color: #ef4444;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  z-index: 9;
  top: -4px;
}

#stcw-list .stcw-label-group {
  display: flex;
  align-items: center;
  min-width: 0;
}

#stcw-list .stcw-label-group .input-icon-wrapper {
  display: block;
  width: 100%;
}

#stcw-list .stcw-label-text {
  margin: 0;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--stcw-text);
  line-height: 1.35;
  word-break: break-word;
  cursor: pointer;
}

#stcw-list .stcw-dates-wrapper {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-direction: column;

}

#stcw-list .stcw-dates-wrapper .form-group {
  flex: 1 1 0;
}

#stcw-list .float-field:has(.flatpickr-date[disabled]) {
  cursor: not-allowed;
  user-select: none;
  opacity: 0.8;
}

#stcw-list .flatpickr-date,
#stcw-list .float-field .placeholder,
#stcw-list .float-field legend span {
  font-size: 0.775rem;
}

#stcw-list .flatpickr-date:disabled {
  color: var(--stcw-muted);
}

@media (max-width: 992px) {
  #stcw-list .row[data-stcw-id] {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: flex-start;
  }

  #stcw-list .stcw-dates-wrapper {
    grid-column: 1/-1;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .stcw .row {
    flex-wrap: wrap;
  }

  .stcw .row .checkbox {
    margin-right: 4px;
  }

  .stcw-label-group {
    flex: 1 1 calc(100% - 40px);
  }

  .stcw-dates-wrapper {
    flex-basis: 100%;
    width: 100%;
    margin-top: 8px;
  }

  #stcw-list .row[data-stcw-id] {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  #stcw-list .row[data-stcw-id] label.checkbox {
    justify-content: flex-start;
  }

  #stcw-list .stcw-dates-wrapper {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 16px;
    padding: 15px;
  }

  .form-section {
    padding: 5px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .action-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  #stcw-list .row[data-stcw-id] {
    padding: 8px 10px;
  }
}

.btn2.delete-btn.is-loading {
  cursor: progress;
  pointer-events: none;
  opacity: 0.8;
}

.btn2.delete-btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #f64747;
  border-top-color: #ff272700;
  animation: 0.6s linear infinite dk-delete-spinner;
}

@keyframes dk-delete-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Soft giriş */
@keyframes dkSoftIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/*
  ⚠️ Burada selector'ı MUTLAKA daralt:
  Sadece eğitim satırlarının bulunduğu kapsayıcıya bağla.
  Örnek: #education-list, #cv-education, .education-section vs.
*/
.cv-main-content .row[data-id] {
  animation: dkSoftIn 380ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  will-change: opacity, transform;
}

/* Motion azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  .cv-main-content .row[data-id] {
    animation: none !important;
  }
}

/* =========================
   CV HERO (Top Preview Card)
   ========================= */
.cv-hero {
  width: 100%;
}

.cv-hero-inner {
  margin: 0 auto;
}

.cv-hero-card {
  display: grid;
  grid-template-areas: "header info actions";
  grid-template-columns: minmax(260px, 360px) 1fr 92px;
  align-items: stretch;
  border: 0.1rem solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;

  background: linear-gradient(90deg, #3b82f6 0%, #0891b2 55%, #0d9488 100%);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Header */
.cv-hero-header {
  display: flex;
  align-items: flex-start;
  min-height: 120px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 0.1rem solid var(--border-color);
  border-radius: 8px;
  flex-direction: column;
}

.page-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #1e3a8a;
  border-radius: 8px 8px 0 0;
  width: 100%;
}

h1 {
  text-align: center;
  color: #0c2f4d;
  margin-bottom: 30px;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
  color: #1e3a8a;
}

.employe-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.6rem;
  gap: 10px;
  width: 100%;
}

.cv-required-progress-text {
  margin-top: 4px;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 700;
}

.cv-hero-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
}

.cv-hero-avatar-circle {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 0.1rem solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-hero-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cv-hero-avatar-circle .cv-hero-usericon {
  width: 42px;
  height: 42px;
  opacity: 0.95;
}

.cv-hero-avatar-edit {
  position: absolute;
  right: -5px;
  bottom: -2px;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.cv-hero-avatar-edit:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.cv-hero-avatar-edit img {
  width: 16px;
  height: 16px;
  display: block;
}

.cv-hero-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cv-hero-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cv-hero-role {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Info */
.cv-hero-info {
  grid-area: info;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;

  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.cv-hero-info-item {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;

  background: rgba(255, 255, 255, 0.06);
}

.cv-hero-info-item+.cv-hero-info-item {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.cv-hero-info-label {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cv-hero-info-icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
  flex: 0 0 auto;
}

.cv-hero-info-value {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.01em;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Actions */
.cv-hero-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;

  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.cv-hero-action {
  width: 40px;
  height: 40px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);

  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
  text-decoration: none;
}

.cv-hero-action:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.cv-hero-action svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* Tooltip (data-label) */
.cv-hero-action {
  position: relative;
}

.cv-hero-action::after,
.cv-hero-action::before {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.cv-hero-action::after {
  content: attr(data-label);
  bottom: -28px;
  transform: translateX(-50%) translateY(2px);
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
}

.cv-hero-action::before {
  content: "";
  bottom: -12px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.92);
}

.cv-hero-action:hover::after,
.cv-hero-action:hover::before,
.cv-hero-action:focus-visible::after,
.cv-hero-action:focus-visible::before {
  opacity: 1;
}

.cv-hero-action:hover::after,
.cv-hero-action:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

/* =========================
   Responsive Breakpoints
   ========================= */

/* Tablet */
@media (max-width: 1024px) {
  .cv-hero-card {
    grid-template-areas:
      "header"
      "info"
      "actions";
    grid-template-columns: 1fr;
  }

  .cv-hero-info {
    border-left: none;
    padding: 0 16px 14px;
    gap: 0;
  }

  .cv-hero-info-item {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
  }

  .cv-hero-info-item+.cv-hero-info-item {
    border-left: none;
  }

  .cv-hero-actions {
    border-left: none;
    flex-direction: row;
    padding: 10px 0 18px;
    gap: 12px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .cv-hero-header {
    width: 100%;
  }

  .cv-hero-name {
    font-size: 0.9rem;
  }

  .cv-hero-role {
    font-size: 0.8rem;
  }

  .cv-main-content {
    width: 100%;
  }

  .cv-hero-info {
    padding: 0 18px 10px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cv-hero-info-item {
    border-radius: 0;
    border: none;
    background: transparent;
    padding: 14px 0;
  }

  .cv-hero-info-item+.cv-hero-info-item {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .cv-hero-info-label {
    font-size: 11px;
  }

  .cv-hero-info-value {
    font-size: 0.7rem;
  }

  .cv-hero-actions {
    padding: 10px 0 16px;
  }
}

.cv-required-progress-card {
  --cvp-green: #29b45a;
  --cvp-green-dark: #22a44f;
  --cvp-text: #1f2937;
  --cvp-muted: #6b7280;
  --cvp-bg: #ffffff;
  --cvp-track: #e8edf3;
  --cvp-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  width: 100%;
  max-width: 420px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  border: 0.1rem solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.cv-required-progress-ring-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-required-progress-ring {
  width: 70px;
  height: 70px;
  transform: rotate(-90deg);
  overflow: visible;
}

.cv-required-progress-ring-track,
.cv-required-progress-ring-bar {
  fill: none;
  stroke-width: 10;
}

.cv-required-progress-ring-track {
  stroke: var(--cvp-track);
}

.cv-required-progress-ring-bar {
  stroke: var(--cvp-green);
  stroke-linecap: round;
  stroke-dasharray: 301.5929;
  stroke-dashoffset: 301.5929;
  transition: stroke 0.25s ease;
  filter: drop-shadow(0 4px 10px rgba(41, 180, 90, 0.18));
}

.cv-required-progress-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cvp-text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cv-required-progress-value {
  font-size: 1rem;
  line-height: 1;
}

.cv-required-progress-percent {
  font-size: 1rem;
  line-height: 1;
  margin-left: 2px;
  transform: translateY(1px);
}

.cv-required-progress-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.cv-required-progress-status-title {
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--cvp-green);
}

.cv-required-progress-text {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #74809a;
  margin-top: 0;
  text-align: left;
}

.cv-required-progress-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cv-required-progress-warning {
  font-size: 0.775rem;
  line-height: 1.5;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 14px;
  padding: 10px;
}

.cv-required-cta-btn {
  border: none;
  border-radius: var(--radius);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, var(--cvp-green), var(--cvp-green-dark));
  color: #fff;
}

.cv-required-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(41, 180, 90, 0.26);
}

.cv-required-cta-btn:active {
  transform: translateY(0);
}

.cv-required-cta-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.cv-required-progress-card.is-complete .cv-required-progress-status-title {
  color: var(--cvp-green);
}

.cv-required-progress-card.is-complete .cv-required-progress-warning {
  display: none;
}

.cv-required-progress-card.is-incomplete .cv-required-cta-btn {
  display: none;
}

.cv-required-progress-card.is-incomplete .cv-required-progress-ring-bar {
  stroke: #f59e0b;
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.16));
}

.cv-required-progress-card.is-incomplete .cv-required-progress-status-title {
  color: #111827;
}

@media (max-width: 768px) {
  .cv-required-progress-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "status ring"
      "actions actions";
    column-gap: 24px;
    row-gap: 16px;
    align-items: center;
  }

  .cv-required-progress-status {
    grid-area: status;
    justify-self: start;
    align-self: center;
  }

  .cv-required-progress-ring-wrap {
    grid-area: ring;
    justify-self: end;
    align-self: center;
  }

  .cv-required-progress-actions {
    grid-area: actions;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 12px;
  }

  .cv-required-progress-card {
    max-width: 100%;
    padding: 20px 16px 16px;
    border-radius: 8px;
  }

  .cv-required-progress-ring-wrap,
  .cv-required-progress-ring {
    width: 60px;
    height: 60px;
  }

  .cv-required-progress-value {
    font-size: 0.775rem;
  }

  .cv-required-progress-percent {
    font-size: 0.775rem;
  }

  .cv-required-progress-status-title {
    font-size: 1rem;
    min-height: auto;
  }

  .cv-required-progress-text {
    min-height: auto;
    font-size: 0.775rem;
  }

  .cv-required-cta-btn {
    font-size: 0.775rem;
    border-radius: 8px;
  }
}

.cv-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--vp-radius-card);
  background: #fff;
  border: 1px solid var(--dk-line) !important;
}

.cv-search {
  margin-bottom: 1rem;
}

.cv-head__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0f172a;
  line-height: 1.2;
  text-align: left;
}

.cv-head__desc {
  margin: .4rem 0 0;
  font-size: .8125rem;
  color: #64748b;
  line-height: 1.5;
}