.navbar {
  background: #eef8ff;
  padding: 10px 15px;
}

.logo-name strong {
  font-family: Plus Jakarta Sans;
  font-weight: 700;
  font-style: Bold;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: 2%;
  text-transform: uppercase;
  color: #1059a1;
}

.logo-name span {
  font-family: Plus Jakarta Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 2%;
  color: #2f9e4a;
}

.navbar img {
  width: 20%;
}

.form-order {
  border: 1px solid #b9d7f5;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
}

.forms {
  background: #eef8ff;
  padding: 16px;
  border-radius: 10px;
}

.personal-detail {
  background: #1059a1;
  padding: 16px;
  border-radius: 15px;
}

.forms-section {
  padding: 20px;
}

.icon {
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: auto;
}

.personal-detail strong {
  font-family: Plus Jakarta Sans;
  font-weight: 700;
  font-style: Bold;
  font-size: 19px;
  line-height: 20px;
  letter-spacing: 2%;
}

.personal-detail span {
  font-family: Plus Jakarta Sans;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 14px;
  /* line-height: 30px; */
  letter-spacing: 2%;
}

:root {
  --teal: #1d9e75;
  --teal-dark: #0f6e56;
  --teal-light: #e1f5ee;
  --teal-border: #9fe1cb;
  --text: #1a1a1a;
  --text2: #555;
  --text3: #888;
  --bg: #fff;
  --bg2: #f7f8f6;
  --bg3: #f0f1ef;
  --border: #d8d9d6;
  --border2: #c2c4bf;
  --red: #d85a30;
  --blue: #185fa5;
  --blue-light: #e6f1fb;
  --radius: 8px;
  --radius-lg: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}

.form-grid.g1 {
  grid-template-columns: 1fr;
}

.form-grid.g3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-grid.g4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.f2 {
  grid-column: span 2;
}

.f3 {
  grid-column: span 3;
}

.f4 {
  grid-column: span 4;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

label {
  font-family: Josefin Sans;
  font-size: 17px;
  font-weight: 600;
  color: #1059a1;
}

label .req {
  color: var(--red);
  margin-left: 2px;
}

label .hint {
  font-weight: 400;
  color: var(--text3);
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="month"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  background: var(--bg);
  font-family: inherit;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #d9d9d9;
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.1);
}

textarea {
  resize: vertical;
  min-height: 68px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.radio-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 4px 0;
}

.radio-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
}

.radio-opt input {
  width: auto;
  padding: 0;
  cursor: pointer;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.checkbox-row input {
  width: auto;
  padding: 0;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-row label {
  font-size: 13px;
  color: var(--text);
  font-weight: 400;
  cursor: pointer;
}

.tbl-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: auto;
  margin-bottom: 8px;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tbl th {
  background: var(--bg2);
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.tbl td {
  padding: 5px 6px;
  border-bottom: 1px solid var(--border);
}

.tbl tr:last-child td {
  border-bottom: none;
}

.tbl td input,
.tbl td select {
  border: none;
  padding: 4px 7px;
  font-size: 13px;
  background: transparent;
  width: 100%;
  min-width: 80px;
  font-family: inherit;
  color: var(--text);
}

.tbl td input:focus,
.tbl td select:focus {
  background: var(--bg2);
  border-radius: 4px;
  outline: 1px solid var(--teal);
}

.tbl-num {
  width: 28px;
  text-align: center;
  color: var(--text3);
  font-size: 11px;
  font-weight: 600;
}

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  color: var(--teal-dark);
  font-weight: 600;
  cursor: pointer;
  padding: 5px 0;
  background: none;
  border: none;
  font-family: inherit;
}

.info-box {
  background: #e5ffef;
  border: 1px solid #b1e9c6;
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 14px;
  color: black;
  font-family: Plus Jakarta Sans;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.decl-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 12px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 12px;
}

hr.div {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.submit-footer {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.submit-note {
  font-size: 12px;
  color: var(--text3);
}

.submit-note strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 2px;
}

.btn-print {
  padding: 9px 20px;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  margin-right: 8px;
}

.btn-print:hover {
  background: var(--bg2);
}

.btn-submit {
  padding: 9px 24px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--teal-dark);
}

@media print {
  body {
    background: #fff;
  }

  .progress-strip,
  .submit-footer,
  .add-btn {
    display: none;
  }

  .section {
    break-inside: avoid;
    border: 1px solid #ccc;
    margin-bottom: 12px;
  }

  .section-body {
    display: block !important;
  }

  .section-header {
    cursor: default;
  }

  .sec-arrow {
    display: none;
  }

  .top-header {
    background: #1d9e75 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .f2,
  .f3,
  .f4 {
    grid-column: span 1;
  }

  .form-grid.g3,
  .form-grid.g4 {
    grid-template-columns: 1fr 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.sub-heading {
  font-family: Plus Jakarta Sans;
  font-weight: 700;
  font-style: Bold;
  font-size: 19px;
  color: #1059a1;
  line-height: 30px;
  letter-spacing: 2%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2.25rem 0 0.75rem;
  padding-bottom: 6px;
  /* border-bottom: 1px solid var(--border); */
}

.add-btn {
  padding: 10px;
  background: #00848e;
  color: #ffffff;
  margin-top: 16px;
  border-radius: 7px;
}

.tbl-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: auto;
  margin-bottom: 8px;
}

.delete-btn {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.delete-btn:hover {
  background: #bb2d3b;
}

.prev-btn {
  width: fit-content;
  min-width: 100px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid #1059a1;
  color: #1059a1;
  border-radius: 6px;
}

.next-btn {
  width: fit-content;
  min-width: 100px;
  padding: 5px 10px;
  background: #3f955f;
  color: #ffffff;
  border: none;
  border-radius: 6px;
}

#progressBar {
  pointer-events: none;
}

.range-wrapper {
  position: relative;
  width: 100%;
}

#progressBar {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  border: none;
  border-radius: 30px;
  overflow: hidden;
  pointer-events: none;
  background: #d9f4e7;
}

#progressBar::-webkit-slider-runnable-track {
  height: 8px;
  background: #d9f4e7;
  border-radius: 30px;
}

#progressBar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 8px;
  background: #2f8f5b;
  box-shadow: -1000px 0 0 1000px #2f8f5b;
}

#progressBar::-moz-range-track {
  height: 8px;
  background: #d9f4e7;
}

#progressBar::-moz-range-progress {
  height: 8px;
  background: #2f8f5b;
}

#progressBar::-moz-range-thumb {
  width: 0;
  height: 0;
  border: none;
  background: transparent;
}

.range-text {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: #2f8f5b;
  font-weight: 600;
  font-size: 14px;
}

.menu-btn {
  display: none;
  background: #1059a1;
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 998;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 992px) {
  .menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    /* position: sticky;
        top: 20px; */
  }

  #sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    overflow: auto;
    transition: 0.45s ease;
    z-index: 999;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }

  #sidebar.active {
    left: 0;
  }
}

.sidebar-close {
  display: none;
}

@media (max-width: 992px) {
  .sidebar-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #1059a1;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
  }

  .sidebar-close:hover {
    background: #0b4b87;
    transform: rotate(90deg);
  }

  #sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    overflow-y: auto;
    transition: 0.4s ease;
    z-index: 999;
    padding: 70px 20px 20px;
  }

  #sidebar.active {
    left: 0;
  }
}

@media (max-width: 576px) {
  .logo-name strong {
    font-size: 18px;
    line-height: 0%;
  }

  .logo-name span {
    font-size: 13px;
    line-height: 0%;
  }
}

@media (min-width: 992px) {
  .form-order {
    position: sticky;
    top: 20px;
    min-height: 350px;
  }
}

.form-order {
  border: 1px solid #d7e8f8;
  border-radius: 8px;
  padding: 1px;
  background: #fff;
  padding-top: 20px;
  padding-bottom: 20px;

}

@media (max-width: 992px) {
  .form-order {
    padding: 1px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .personal-detail .d-lg-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .personal-detail .d-flex.gap-3 {
    flex-direction: column;
    align-items: center;
    gap: 10px !important;
  }

  .personal-detail .icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
    margin: 0 auto;
  }

  .personal-detail strong {
    font-size: 18px;
    line-height: 24px;
  }

  .personal-detail span {
    font-size: 13px;
    line-height: 20px;
    display: block;
  }

  .personal-detail .d-flex.align-items-center {
    justify-content: center;
    text-align: center;
  }

  .personal-detail .d-flex.align-items-center span {
    font-size: 12px;
    line-height: 20px;
    word-break: break-word;
  }
}

@media (min-width: 576px) {
  .personal-detail>.d-lg-flex {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .personal-detail .d-flex.gap-3 {
    display: flex;
    align-items: center;
    flex: 1;
  }

  .personal-detail .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .personal-detail>.d-lg-flex>div:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
  }
}

.subheading2 {
  background: #00848e;
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
}

.form-box {
  border: 1px solid #d0ebff;
  border-radius: 10px;
  margin-bottom: 20px;
}

.form-grid2 {
  padding: 25px;
}

.form-grid2 input {
  background: #f3f7ff;
  border: 1px solid #d0ebff;
}

.form-grid2 textarea {
  background: #f3f7ff;
  border: 1px solid #d0ebff;
}

.form-grid2 select {
  background: #f3f7ff;
  border: 1px solid #d0ebff;
}

.success-check-svg {
  width: 90px;
  height: 90px;
}

.success-check-circle {
  stroke: #2f8f5b;
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: circleDraw 0.6s ease forwards;
}

.success-check-mark {
  stroke: #2f8f5b;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: markDraw 0.4s ease forwards 0.6s;
}

@keyframes circleDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes markDraw {
  to {
    stroke-dashoffset: 0;
  }
}

#previewBanner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1055;
  background: #2f8f5b;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

#previewBanner button {
  background: #fff;
  color: #2f8f5b;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width:991px) {
  .form-order .nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

.nav-items {
  list-style: none;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px 15px;
  text-decoration: none;
  color: #b8b8b8;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-links.active {
  color: #111;
  font-weight: 600;
}

.nav-links.completed {
  color: #2f8f5b;
  font-weight: 600;
}

.nav-links.disabled {
  color: #bfbfbf;
  pointer-events: none;
  cursor: not-allowed;
}

.step-dot {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e5f3eb;
  border: 2px solid #c7e4d3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.step-num {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  transition: opacity 0.2s ease;
}

.step-dot .step-check-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.nav-links.active .step-dot {
  background: #2f8f5b;
  border-color: #2f8f5b;
}

.nav-links.active .step-num {
  color: #fff;
}

.nav-links.completed .step-dot {
  background: #2f8f5b;
  border-color: #2f8f5b;
}

.nav-links.completed .step-num {
  opacity: 0;
}

.nav-links.completed .step-check-svg {
  opacity: 1;
}

.nav-links.completed .step-check-circle {
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 63;
  stroke-dashoffset: 63;
  animation: stepCircleDraw 0.35s ease forwards;
}

.nav-links.completed .step-check-mark {
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: stepMarkDraw 0.25s ease forwards 0.3s;
}

@keyframes stepCircleDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes stepMarkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.step-connector {
  position: relative;
  height: 24px;
  margin-left: 28px;
  width: 2px;
  list-style: none;
}


.step-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: #e0e0e0;
}

.step-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0%;
  background: #2f8f5b;
}

.step-connector.filled .step-fill {
  animation: fillLine 0.8s ease forwards;
}

@keyframes fillLine {
  to {
    height: 100%;
  }
}

.step-walker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  font-size: 16px;
  opacity: 0;
  line-height: 1;
}

.step-connector.filled .step-walker {
  animation: walkDown 0.8s ease forwards;
}

@keyframes walkDown {
  0% {
    top: 0%;
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@media (min-width:992px) {
  .form-order .nav {
    display: flex;
    /*flex-direction: column;*/
    height: 440px !important;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .step-track {
    position: absolute;
    top: -42px;
    left: 0;
    width: 2px;
    height: 100%;
    background: #e0e0e0;
    min-height: 115px;
    z-index: -2;
  }

  .step-fill {
    position: absolute;
    top: -35px;
    left: 0;
    width: 2px;
    height: 0%;
    background: #2f8f5b;
    /*min-height: 178px;*/
  }

  .step-connector.filled .step-fill {
    animation: fillLine 2.9s ease forwards;
  }

  @keyframes fillLine {
    to {
      height: 400%;
    }
  }

  .step-walker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -406%);
    font-size: 16px;
    opacity: 0;
    line-height: 1;

  }

  .step-connector.filled .step-walker {
    animation: walkDown 2.9s ease forwards;
  }

  @keyframes walkDown {
    0% {
      top: 0%;
      opacity: 1;
    }

    95% {
      opacity: 1;
    }

    100% {
      top: 565%;
      opacity: 0;
    }
  }
}


.prev {
  width: fit-content;
  min-width: 100px;
  padding: 5px 10px;
  background: #3f955f;
  color: #ffffff;
  border: none;
  border-radius: 6px;
}

.cloose {
  width: fit-content;
  min-width: 100px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid #1059a1;
  color: #1059a1;
  border-radius: 6px;
}

.pf-nav-item {
  padding: 4px 15px 12px;
}

.pf-nav-item .nav-links {
  padding: 6px 0;
}

.pf-select-wrap {
  position: relative;
  /* margin-left: 40px; */
  margin-top: 2px;
}

.pf-select-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #2f8f5b;
  pointer-events: none;
}

.pf-select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #9aa0a6;
  pointer-events: none;
  transition: transform .25s ease, color .25s ease;
}

.pf-dropdown {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-top: 8px;
  padding: 11px 36px 11px 38px;
  border: 1px solid #dfe3e6;
  border-radius: 10px;
  background: #fafbfc;
  font-size: 13.5px;
  font-weight: 500;
  color: #3c4147;
  cursor: pointer;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.pf-dropdown:hover {
  border-color: #b9d9c6;
  background: #fff;
}

.pf-dropdown:focus {
  border-color: #2f8f5b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 143, 91, .14);
}

.pf-dropdown:focus+.pf-select-caret {
  color: #2f8f5b;
  transform: translateY(-50%) rotate(180deg);
}

.pf-dropdown:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.pf-nav-item .nav-links.disabled+.pf-select-wrap .pf-dropdown {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

.decl-box input.inline-blank {
  all: unset !important;
  display: inline-block;
  width: 170px !important;
  border-bottom: 1px solid #000 !important;
  text-align: center;
  padding: 0 4px;
  font-size: 13px !important;
  font-weight: bold !important;
  color: inherit;
  line-height: 1.5;
  box-sizing: border-box;
}

.decl-box input.inline-blank:focus,
.decl-box input.inline-blank:focus-visible {
  all: unset !important;
  border-bottom: 1px solid #000 !important;
  text-align: center;
  width: 170px !important;
  padding: 0 4px;
  margin: 0 2px;
  font-size: 13px !important;
  color: inherit;
  font-weight: bold !important;
}

.decl-box input.inline-blank [text] {
  text-align: center !important;
}

.decl-box input.inline-blank::placeholder {
  text-align: center;
}



.signature-box {
  max-width: 420px;
  margin: 8px 0;
}

.sig-dropzone {
  position: relative;
  width: 100%;
  min-height: 140px;
  border: 1px dashed #aaa;
  border-radius: 6px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  cursor: pointer;
}

.sig-dropzone.dragover {
  border-color: #1a4fa0;
  background: #eef4fc;
}

.sig-hint {
  font-size: 13px;
  color: #777;
  margin: 0;
  pointer-events: none;
}

.sig-preview {
  max-width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.sig-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.sig-btn {
  font-size: 13px;
  padding: 4px 12px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.sig-btn:hover {
  background: #f0f0f0;
}



.checkbox-row.strike {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkbox-row.strike input:not(:checked)+label {
  text-decoration: line-through;
  color: #666;
}



.pf-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.pf-choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 18px 20px;
  background: #fff;
  border: 2px solid #dcdcdc;
  border-radius: 12px;
  cursor: pointer;
  transition: all .3s ease;
  text-align: left;
}

.pf-choice-card:hover {
  border-color: #0d6efd;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.pf-choice-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  border-radius: 50%;
  background: #eef5ff;
  color: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.pf-choice-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  flex: 1;
}

.pf-choice-text strong {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
}

.pf-choice-text span {
  font-size: 14px;
  color: #6c757d;
}

.pf-choice-check {
  font-size: 24px;
  color: #d0d0d0;
  transition: .3s;
}

/* Active Card */
.pf-choice-card.active {
  border-color: #0d6efd;
  background: #f3f8ff;
  box-shadow: 0 8px 20px rgba(13, 110, 253, .15);
}

.pf-choice-card.active .pf-choice-check {
  color: #198754;
}

.pf-choice-card.active .pf-choice-icon {
  background: #0d6efd;
  color: #fff;
}

/* Mobile */
@media (max-width: 576px) {
  .pf-choice-grid {
    grid-template-columns: 1fr;
  }

  .pf-choice-card {
    padding: 15px;
  }

  .pf-choice-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .pf-choice-text strong {
    font-size: 16px;
  }

  .pf-choice-text span {
    font-size: 13px;
  }
}

.completed-tick::after {
  content: "✔";
  color: green;
  font-weight: bold;
  margin-left: 10px;
}

/* Ensure active state is clearly defined */
.sidebar-link.active {
  background-color: #e0f7fa;
  /* Or your preferred active color */
  border-left: 4px solid green;
}





.pf-visually-hidden {
  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;
}

.pf-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .pf-choice-grid {
    grid-template-columns: 1fr;
  }
}

.pf-choice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 18px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.12s ease;
}

.pf-choice-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.pf-choice-card:active {
  transform: translateY(0);
}

.pf-choice-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 18px;
}

.pf-choice-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
}

.pf-choice-text strong {
  font-size: 15px;
}

.pf-choice-text span {
  font-size: 13px;
  opacity: 0.7;
}

.pf-choice-check {
  flex: 0 0 auto;
  font-size: 18px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.pf-choice-card.selected {
  border-color: var(--main, #6c5ce7);
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.18), rgba(108, 92, 231, 0.06));
}

.pf-choice-card.selected .pf-choice-check {
  opacity: 1;
  transform: scale(1);
  color: var(--main, #6c5ce7);
}

.pf-choice-card.completed {
  border-color: #2ecc71;
}

.pf-choice-card.completed .pf-choice-check {
  opacity: 1;
  transform: scale(1);
  color: #2ecc71;
}

.pf-choice-card.completed.selected {
  border-color: #2ecc71;
  background: linear-gradient(180deg, rgba(46, 204, 113, 0.18), rgba(46, 204, 113, 0.06));
}

.pf-chooser-hint {
  opacity: 0.75;
  font-size: 14px;
}