:root {
  --poli-teal: #004f45;
  --poli-teal-2: #00745f;
  --poli-teal-soft: #e8f4f1;
  --poli-orange: #f28a5b;
  --poli-line: #d8e6e2;
}

.required-marker,
.required-legend span {
  color: #b42318;
  font-weight: 800;
}

.required-legend {
  margin: 0 0 14px;
  color: #66736f;
  font-size: 13px;
}

.poli-admin-header {
  background: #004f45;
  border-bottom: 4px solid var(--poli-orange);
  color: #fff;
}

.poli-admin-header nav {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
}

.poli-admin-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.poli-admin-header strong {
  color: #fff;
  font-size: 20px;
  margin-right: 8px;
}

.poli-admin-header a,
.poli-admin-header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 38px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.poli-admin-header a:link,
.poli-admin-header a:visited,
.poli-admin-header a:hover,
.poli-admin-header a:active {
  color: #fff;
}

.poli-admin-header a:hover,
.poli-admin-header button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.poli-admin-header form {
  margin: 0;
}

.poli-flow-nav {
  background: #fff;
  border-bottom: 1px solid var(--poli-line);
}

.poli-flow-nav-inner {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.poli-step-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--poli-line);
  border-radius: 999px;
  background: #fff;
  color: var(--poli-teal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.poli-step-link::before {
  content: attr(data-index);
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 999px;
  background: var(--poli-teal-soft);
  color: var(--poli-teal);
  font-size: 12px;
}

.poli-step-link.active {
  border-color: var(--poli-teal-2);
  background: var(--poli-teal-2);
  color: #fff;
}

.poli-step-link.active::before {
  background: #fff;
  color: var(--poli-teal-2);
}

.poli-step-link.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.swal2-popup {
  font-family: Arial, sans-serif;
}

@media (max-width: 760px) {
  .poli-admin-header nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .poli-admin-header strong {
    width: calc(100% - 56px);
    align-self: center;
  }
}
