.searching-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #5a6e74;
}
.searching-bar__form {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 900px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
}
.searching-bar__form::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%235A6E74' stroke-width='2'/%3E%3Cpath d='M20 20L16.65 16.65' stroke='%235A6E74' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.searching-bar__input {
  width: 100%;
  height: 70px;
  padding: 0 160px 0 55px;
  border: none;
  outline: none;
  font-size: 18px;
}
.searching-bar__button {
  position: absolute;
  right: 0;
  top: 0;
  height: 70px;
  min-width: 150px;
  border: none;
  background: #da801f;
  color: var(--c-btn-text-color);
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .searching-bar__input {
    padding: 0 130px 0 55px;
    font-size: 16px;
  }
  .searching-bar__button {
    min-width: 120px;
    font-size: 16px;
  }
}
@media (max-width: 520px) {
  .searching-bar__form {
    flex-direction: column;
    background: transparent;
    gap: 10px;
  }
  .searching-bar__form::before {
    top: 35px;
  }
  .searching-bar__input {
    padding-left: 50px;
    border-radius: 12px;
    background: white;
  }
  .searching-bar__button {
    position: static;
    width: 100%;
    border-radius: 12px;
  }
}
.cv-edit-section {
  padding: 20px 0 0;
}

.cv-edit {
  max-width: 1100px;
  margin: 0 auto;
}

.cv-edit__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #f1d1d1;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.cv-edit__title {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  color: #111827;
}

.cv-edit__subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}

.cv-edit__button {
  flex-shrink: 0;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #dc2626;
  border-radius: 12px;
  background: #dc2626;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.cv-edit__button:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  box-shadow: 0 12px 22px rgba(220, 38, 38, 0.18);
  transform: translateY(-1px);
}

.cv-section {
  padding: 18px 0 32px;
}

.cv {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.cv__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 720px;
}

.cv__profile {
  background: #fafafa;
  border-right: 1px solid #eee;
}

.cv__photo-card {
  padding: 20px;
}

.cv__photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #f3f4f6;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cv__photo:disabled {
  cursor: default;
}

.cv__photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cv__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 700;
  color: #9ca3af;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.cv__photo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.cv__photo-actions--hidden {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;
}

.cv__photo-action {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cv__photo-action:hover:not(:disabled) {
  transform: translateY(-1px);
}

.cv__photo-action:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.cv__photo-action--upload {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  box-shadow: 0 10px 18px rgba(220, 38, 38, 0.12);
}

.cv__photo-action--upload:hover:not(:disabled) {
  background: #b91c1c;
  border-color: #b91c1c;
}

.cv__photo-action--delete {
  background: #fff;
  border-color: #fca5a5;
  color: #b91c1c;
}

.cv__photo-action--delete:hover:not(:disabled) {
  background: #fef2f2;
  border-color: #f87171;
}

.cv__profile-body {
  padding-top: 18px;
}

.cv__status-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.cv__status-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  border: 1px solid transparent;
}

.cv__status-badge--green {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.cv__status-badge--blue {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: #bfdbfe;
}

.cv__status-badge--orange {
  color: #b45309;
  background: #fef3c7;
  border-color: #fde68a;
}

.cv__status-note {
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
}

.cv__name {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
  word-break: break-word;
}

.cv__position {
  color: #d97706;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 12px;
  word-break: break-word;
}

.cv__quick-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.cv__quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
}

.cv__quick-icon {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e5e7eb;
}

.cv__quick-icon::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
}

.cv__quick-icon--age {
  background: #e0f2fe;
}

.cv__quick-icon--phone {
  background: #dcfce7;
}

.cv__quick-icon--blood {
  background: #fee2e2;
}

.cv__quick-icon--family {
  background: #fef3c7;
}

.cv__quick-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cv__quick-label {
  font-size: 12px;
  line-height: 1.2;
  color: #9ca3af;
  margin-bottom: 3px;
}

.cv__quick-value {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: #111827;
  word-break: break-word;
}

.cv__content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  min-width: 0;
}

.cv__main,
.cv__side {
  padding: 20px;
  min-width: 0;
}

.cv__side {
  border-left: 1px solid #eee;
  background: #fafafa;
}

.cv__block + .cv__block {
  margin-top: 16px;
}

.cv__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cv__title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
}

.cv__title-row .cv__title {
  margin-bottom: 0;
}

.cv__info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cv__subheading {
  grid-column: 1/-1;
  margin: 4px 0 -2px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
}

.cv__field {
  position: relative;
  z-index: 1;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  cursor: default;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.cv__field.is-dropdown-open {
  z-index: 35;
}

.cv__field--editable {
  border-color: #e5e7eb;
  box-shadow: none;
  background: #fff;
}

.cv__field--editable::before {
  content: none;
}

.cv__label {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: #6b7280;
  margin-bottom: 4px;
}

.cv__value {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #111827;
  word-break: break-word;
}

.cv__field-trigger {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.cv__field-trigger-text {
  min-width: 0;
  word-break: break-word;
}

.cv__field-trigger-icon {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: rotate(45deg);
  transition: transform 160ms ease, border-color 160ms ease;
}

.cv__field-trigger[aria-expanded=true] .cv__field-trigger-icon {
  transform: rotate(225deg) translateY(-2px);
  border-color: #6b7280;
}

.cv__field-dropdown[hidden] {
  display: none !important;
}

.cv__field-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  display: grid;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #f1d1d1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.cv__field-option {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f9fafb;
  color: #111827;
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cv__field-option:hover,
.cv__field-option.is-selected {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.cv__field-dropdown-empty {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 14px;
}

.cv__toggle {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cv__toggle:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.cv__toggle[aria-expanded=true] {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.cv__collapsible[hidden] {
  display: none !important;
}

.cv__collapsible {
  margin-top: 10px;
}

.cv__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.cv__list-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0;
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
  color: #111827;
  word-break: break-word;
}

.cv__timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cv__timeline-empty {
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  color: #6b7280;
  background: #fff;
}

.cv__timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  align-items: start;
}

.cv__timeline-item:last-child .cv__timeline-line {
  display: none;
}

.cv__timeline-line {
  position: absolute;
  left: 8px;
  top: 24px;
  bottom: -12px;
  width: 2px;
  background: #e5e7eb;
}

.cv__timeline-marker {
  position: relative;
  z-index: 1;
  width: 18px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.cv__timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px #dbeafe;
}

.cv__timeline-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.cv__timeline-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.cv__timeline-status {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  word-break: break-word;
}

.cv__timeline-badge {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.cv__timeline-dates {
  display: grid;
  gap: 6px;
}

.cv__timeline-date-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.cv__timeline-date-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.cv__timeline-date-value {
  font-size: 14px;
  line-height: 1.35;
  color: #4b5563;
}

.cv__timeline-item.status-blue .cv__timeline-dot {
  background: #2563eb;
  box-shadow: 0 0 0 4px #dbeafe;
}

.cv__timeline-item.status-orange .cv__timeline-dot {
  background: #d97706;
  box-shadow: 0 0 0 4px #fef3c7;
}

.cv__timeline-item.status-green .cv__timeline-dot {
  background: #16a34a;
  box-shadow: 0 0 0 4px #dcfce7;
}

.cv__timeline-item.status-red .cv__timeline-dot {
  background: #dc2626;
  box-shadow: 0 0 0 4px #fee2e2;
}

.cv__timeline-item.is-active .cv__timeline-card {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.cv__timeline-item.is-active .cv__timeline-badge {
  background: #eff6ff;
  color: #1d4ed8;
}

.cv__state {
  padding: 32px 24px;
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
}

.cv__state--error {
  color: #b91c1c;
}

.cv__lightbox {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0, 0, 0, 0.74);
  justify-content: center;
  align-items: center;
  padding: 24px;
  z-index: 1200;
}

.cv__lightbox img {
  max-width: min(960px, 92vw);
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.cv__lightbox.active {
  display: flex;
}

@media (max-width: 1024px) {
  .cv__layout,
  .cv__content {
    grid-template-columns: 1fr;
  }
  .cv__profile,
  .cv__side {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid #eee;
  }
}
@media (max-width: 720px) {
  .cv-edit__header {
    flex-direction: column;
    align-items: stretch;
  }
  .cv-edit__button {
    width: 100%;
  }
  .cv__info-grid,
  .cv__photo-actions {
    grid-template-columns: 1fr;
  }
  .cv__main,
  .cv__side,
  .cv__photo-card,
  .cv-edit__header {
    padding: 16px;
  }
}

/*# sourceMappingURL=profile.css.map */
