/**
 * Visa details - storefront
 * ---------------------------------------------------------------------------
 * Extracted from the visa-details.html template's <style> block. Only the jp-*
 * rules this page draws are kept; the template's apply-view (.jp-upload) and
 * the .visa-* rules for other pages were left behind. Every selector here is
 * jp- prefixed, so nothing reaches the header, footer or modals.
 */

.jp-req-list .jp-req-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed #eceff3;
}

.jp-req-list .jp-req-item:first-child {
  padding-top: 0;
}

.jp-req-list .jp-req-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.jp-req-ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8f7ee;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}

.jp-tabs {
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 #e5e7eb;
  scrollbar-width: none;
}

.jp-tabs::-webkit-scrollbar {
  display: none;
}

.jp-tabs .nav-item {
  flex: 0 0 auto;
}

.jp-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  white-space: nowrap;
  margin-bottom: 0;
}

.jp-tabs .nav-link:hover:not(.active),
.jp-tabs .nav-link:focus:not(.active) {
  color: #cf3425;
  border-bottom-color: #f0a79c;
}

.jp-tabs .nav-link.active {
  color: #cf3425;
  font-weight: 600;
  background: transparent;
  border-bottom-color: #cf3425;
}

.jp-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}

.jp-faq-tabs .nav-item {
  display: flex;
}

.jp-faq-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #6b7280;
  background: #fff;
  white-space: nowrap;
  transition:
          background 0.18s ease,
          color 0.18s ease,
          border-color 0.18s ease,
          box-shadow 0.18s ease;
}

.jp-faq-tabs .nav-link:hover {
  color: #cf3425;
  border-color: #f0c4bd;
  background: #fff6f4;
}

.jp-faq-tabs .nav-link.active {
  color: #fff;
  border-color: #cf3425;
  background: #cf3425;
  box-shadow: 0 2px 8px rgba(207, 52, 37, 0.25);
}

.jp-faq-tabs .jp-faq-count {
  min-width: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #eef0f3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 17px;
  text-align: center;
  color: #12295c99;
}

.jp-faq-tabs .nav-link.active .jp-faq-count {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

@media (max-width: 575.98px) {
  .jp-faq-tabs {
    flex-wrap: nowrap;
    gap: 6px;
    margin-inline: -20px;
    padding-inline: 20px;
    margin-top: -5px;
    padding-block: 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
  .jp-faq-tabs::-webkit-scrollbar {
    display: none;
  }
  .jp-faq-tabs .nav-item {
    flex: 0 0 auto;
  }
  .jp-faq-tabs .nav-link {
    padding: 7px 14px;
    font-size: 11px;
    letter-spacing: 0.3px;
  }
}

.jp-tab-card {
  display: flex;
  flex-direction: column;
}

.jp-tab-card > .tab-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.jp-tab-card > .tab-content > .tab-pane.active {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.jp-vary-box {
  align-items: flex-start;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid #cfe9d9;
  border-radius: 8px;
  background: #f2fbf6;
  font-size: 13px;
  line-height: 1.5;
  color: #3f6551;
}

.jp-vary-box i {
  color: #16a34a;
  margin-top: 2px;
  flex-shrink: 0;
}

.jp-req-item.is-over {
  display: none;
}

.jp-req-list.is-open .jp-req-item.is-over {
  display: flex;
}

.jp-req-item.is-last-shown {
  padding-bottom: 0;
  border-bottom: 0;
}

.jp-req-foot {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #eceff3;
  text-align: center;
}

.jp-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #cf3425;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
}

.jp-more-chev {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.jp-req-list.is-open + .jp-req-foot .jp-more-chev {
  transform: rotate(180deg);
}

.jp-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  color: #6b7280;
}

.jp-foot > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.jp-foot i {
  color: #9aa3b2;
}

.jp-fig {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.jp-fig-body {
  min-width: 0;
}

.jp-fig-value {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.jp-fig-ico {
  flex-shrink: 0;
  font-size: 22px;
  color: #d3d3d3;
  opacity: 0.5;
}

.jp-hero {
  position: relative;
}

.jp-hero-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 74px;
  height: 44px;
  border-radius: 5px;
  object-fit: cover;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(13, 26, 38, 0.28);
}

@media (max-width: 575.98px) {
  .jp-hero-flag {
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
  }
}

.jp-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.jp-country-flag {
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(13, 26, 38, 0.14);
}

.jp-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  border-radius: 0 0 0.5rem 0.5rem;
  background: linear-gradient(
          180deg,
          rgba(13, 26, 38, 0) 0%,
          rgba(13, 26, 38, 0.45) 100%
        );
  pointer-events: none;
}

.jp-hero-plain::after {
  display: none;
}

.jp-inc-onimage {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 20px rgba(13, 26, 38, 0.18);
  padding: 10px 12px 12px;
}

.jp-inc-onimage .jp-inc-head {
  margin-bottom: 8px;
}

.jp-inc-onimage .jp-inc-ico {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.jp-inc-onimage .jp-inc-cell {
  gap: 6px;
}

@media (max-width: 991.98px) {
  .jp-hero::after {
    display: none;
  }
  .jp-inc-onimage {
    position: static;
    margin-top: 8px;
    background: linear-gradient(180deg, #fbfcfe 0%, #fff 60%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: #e7edf2;
    box-shadow: none;
  }
}

.jp-inc-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 26, 38, 0.78);
  background: rgba(13, 26, 38, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 8px 24px rgba(13, 26, 38, 0.25);
  color: #fff;
}

.jp-inc-bar-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.jp-inc-bar-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

.jp-inc-bar-item + .jp-inc-bar-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.jp-inc-bar-ico {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.jp-inc-bar-ico.jp-inc-ok {
  background: rgba(34, 197, 94, 0.22);
  color: #6ee7a5;
}

.jp-inc-bar-ico.jp-inc-info {
  background: rgba(59, 130, 246, 0.22);
  color: #93c0fd;
}

.jp-inc-bar-ico.jp-inc-warn {
  background: rgba(245, 158, 11, 0.22);
  color: #fbc56a;
}

.jp-inc-bar-badge {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.2);
  color: #6ee7a5;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .jp-inc-bar {
    position: static;
    margin-top: 8px;
    gap: 8px 14px;
    background: #12212e;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .jp-inc-bar-badge {
    margin-left: 0;
  }
}

.jp-inc-card {
  border: 1px solid #e7edf2;
  border-radius: 12px;
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, #fbfcfe 0%, #fff 60%);
}

.jp-inc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.jp-inc-title {
  font-size: 13px;
  font-weight: 600;
  color: #0d1a26;
}

.jp-inc-badge {
  padding: 2px 8px;
  border-radius: 20px;
  background: #e8f7ee;
  color: #15803d;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.jp-inc-grid {
  display: flex;
  align-items: stretch;
}

.jp-inc-cell {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 0 8px;
  text-align: center;
}

.jp-inc-cell + .jp-inc-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: #eef1f5;
}

.jp-inc-label {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  color: #35485c;
}

.jp-inc-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.jp-inc-ok {
  background: #dcf3e5;
  color: #15803d;
  box-shadow: 0 0 0 4px #f0faf4;
}

.jp-inc-info {
  background: #dee9fc;
  color: #2563eb;
  box-shadow: 0 0 0 4px #f0f5fe;
}

.jp-inc-warn {
  background: #fceedb;
  color: #d97706;
  box-shadow: 0 0 0 4px #fdf7ec;
}

.jp-inc-violet {
  background: #ece2fc;
  color: #7c3aed;
  box-shadow: 0 0 0 4px #f6f1fe;
}

.jp-datefield {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e3e9ef;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition:
          border-color 0.15s ease,
          box-shadow 0.15s ease;
}

.jp-datefield:hover {
  border-color: #d3dce5;
}

.jp-datefield:focus-within {
  border-color: #ff5533;
  box-shadow: 0 0 0 3px #fff1ec;
}

.jp-datefield-body {
  flex: 1 1 auto;
  min-width: 0;
}

.jp-datefield-label {
  display: block;
  margin-bottom: 1px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b98a5;
}

.jp-datefield .jp-date {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: #0d1a26;
  cursor: pointer;
}

.jp-datefield .jp-date:focus {
  outline: 0;
  box-shadow: none;
}

.jp-datefield .jp-date::placeholder {
  font-weight: 500;
  color: #b3bec9;
}

.jp-datefield-day {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
  font-size: 12px;
  color: #6b7b8a;
}

.jp-datefield-day i {
  font-size: 12px;
  flex-shrink: 0;
}

.jp-datefield-day.is-set {
  color: #cf3425;
  font-weight: 500;
}

.jp-date-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #fff2ee;
  color: #cf3425;
  font-size: 18px;
  line-height: 1;
  transition:
          background 0.15s ease,
          transform 0.1s ease;
}

.jp-date-btn:hover {
  background: #ffe3da;
}

.jp-date-btn:active {
  transform: scale(0.94);
}

.jp-fee {
  border: 1px solid #e7edf2;
  border-radius: 10px;
  overflow: hidden;
}

.jp-fee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  background: #12295c;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.jp-fee-head span:last-child {
  font-weight: 400;
  opacity: 0.85;
}

.jp-fee-body {
  padding: 12px 14px;
  background: #fff;
}

.jp-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #4a5b6b;
  margin-bottom: 6px;
}

.jp-fee-row span:last-child {
  color: #0d1a26;
  white-space: nowrap;
}

.jp-fee-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eceff3;
}

.jp-fee-total-label {
  font-size: 15px;
  font-weight: 600;
  color: #12295c;
}

.jp-fee-note {
  font-size: 12px;
  color: #16a34a;
}

.jp-fee-amount {
  font-size: 18px;
  font-weight: 700;
  color: #12295c;
  white-space: nowrap;
}

.jp-book .card {
  margin-bottom: 0;
}

.jp-policy-box {
  padding: 12px 14px;
  border-radius: 8px;
  background: #eef7f3;
  font-size: 13px;
  line-height: 1.5;
  color: #3f6551;
}

.jp-policy-box a {
  color: #1f4d3a;
}

.jp-note-box {
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid #d8e4fb;
  border-radius: 8px;
  background: #f2f7ff;
  font-size: 13px;
  line-height: 1.5;
  color: #3f5673;
}

.jp-note-box i {
  color: #2563eb;
  margin-top: 2px;
  flex-shrink: 0;
}

/* One tone per colour in the editor's note palette (NOTE_COLORS). The
   background is the swatch the operator picked; border, text and icon are the
   same hue, darker, so the info icon never sits blue on a red note. */
.jp-note-box.is-primary {
  background: #cfe2ff;
  border-color: #9ec5fe;
  color: #084298;
}

.jp-note-box.is-primary i {
  color: #0d6efd;
}

.jp-note-box.is-success {
  background: #d1e7dd;
  border-color: #a3cfbb;
  color: #0f5132;
}

.jp-note-box.is-success i {
  color: #198754;
}

.jp-note-box.is-danger {
  background: #f8d7da;
  border-color: #f1aeb5;
  color: #842029;
}

.jp-note-box.is-danger i {
  color: #dc3545;
}

.jp-note-box.is-warning {
  background: #fff3cd;
  border-color: #ffe69c;
  color: #664d03;
}

.jp-note-box.is-warning i {
  color: #b58105;
}

.jp-note-box.is-info {
  background: #cff4fc;
  border-color: #9eeaf9;
  color: #055160;
}

.jp-note-box.is-info i {
  color: #0aa2c0;
}

.jp-spec-acc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jp-spec-acc .accordion-item {
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
  transition:
          border-color 0.18s ease,
          box-shadow 0.18s ease;
}

.jp-spec-acc .accordion-item,
.jp-spec-acc .accordion-item:first-of-type,
.jp-spec-acc .accordion-item:last-of-type,
.jp-spec-acc .accordion-item:first-of-type .accordion-button,
.jp-spec-acc .accordion-item:last-of-type .accordion-button.collapsed {
  border-radius: 10px;
}

.jp-spec-acc .accordion-item:not(:first-of-type) {
  border-top: 1px solid #e5e7eb;
}

.jp-spec-acc .accordion-item:hover {
  border-color: #f0a79c;
}

.jp-spec-acc .accordion-button {
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #111827;
  background: #fff;
  box-shadow: none;
  transition:
          background 0.18s ease,
          color 0.18s ease;
}

.jp-spec-acc .accordion-button:hover {
  background: #fafbfc;
}

.jp-spec-acc .jp-faq-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-start;
  width: 27px;
  height: 27px;
  margin-top: -1px;
  margin-right: 10px;
  border-radius: 50%;
  background: #e9e9e9;
  font-size: 13px;
  line-height: 1;
  color: #12295c80;
  transition:
          background 0.18s ease,
          color 0.18s ease;
}

.jp-spec-acc .accordion-button:not(.collapsed) .jp-faq-ico {
  background: #cf3425;
  color: #fff;
}

.jp-spec-acc .accordion-button:not(.collapsed) {
  background: #fff6f4;
  color: #cf3425;
  box-shadow: inset 3px 0 0 #cf3425;
}

.jp-spec-acc .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: #f0c4bd;
  box-shadow: 0 2px 10px rgba(207, 52, 37, 0.07);
}

.jp-spec-acc .accordion-button:focus {
  box-shadow: none;
  border-color: #e5e7eb;
}

.jp-spec-acc .accordion-button::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  position: static;
  top: auto;
  right: auto;
  align-self: center;
  margin-left: auto;
  background-repeat: no-repeat;
  background-size: 14px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3e%3cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: none;
}

.jp-spec-acc .accordion-button:not(.collapsed)::after {
  content: "";
  transform: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cf3425'%3e%3cpath d='M7.646 5.354a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 6.414l-5.646 5.648a.5.5 0 0 1-.708-.708l6-6z'/%3e%3c/svg%3e");
}

.jp-spec-acc .accordion-body {
  padding: 12px 14px 14px;
  color: #4b5563;
  line-height: 1.6;
  border-top: 1px solid #f4e4e1;
}

@media (max-width: 575.98px) {
  .jp-spec-acc .accordion-button {
    padding: 12px 10px 12px 12px;
    font-size: 13.5px;
    column-gap: 8px;
  }
  .jp-spec-acc .jp-faq-ico {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    font-size: 12px;
  }
  .jp-spec-acc .accordion-body {
    padding: 10px 12px 14px;
  }
}

.jp-note-card {
  border-left: 4px solid #f0a336 !important;
}

.jp-note-head-ico {
  color: #d97706;
  font-size: 13px;
}

.jp-note-list {
  list-style: none;
  padding-left: 0;
}

.jp-note-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 0;
}

.jp-note-ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fdf0dc;
  color: #d97706;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}

.jp-steps {
  position: relative;
  padding-left: 36px;
}

.jp-steps::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 13px;
  width: 2px;
  background: #f0d3cf;
}

.jp-step {
  position: relative;
  display: block;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid #eceff3;
  border-radius: 10px;
  background: #fff;
  transition:
          border-color 0.18s ease,
          box-shadow 0.18s ease;
}

.jp-step:last-child {
  margin-bottom: 0;
}

.jp-step-marker {
  position: absolute;
  top: 12px;
  left: -36px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid #cf3425;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #cf3425;
  z-index: 1;
}

.jp-step:last-child .jp-step-marker {
  background: #cf3425;
  color: #fff;
}

/* The square beside each submission card's name - the embassy icon, the
   office icon, or the office's logo. Sized here rather than left to the
   theme's .avatar-md, so all three are the same box whatever the theme does,
   and fixed with flex-basis so a long name cannot squeeze it. */
.jp-card-mark {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.jp-brand-box {
  background: #fff;
  border: 1px solid #eceff3;
}

/* Two classes deep and !important: the theme's `.avatar img` sets
   object-fit: cover and outranks a single class, which is what was cropping
   and stretching the logo. */
.jp-card-mark .jp-brand-mark {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center;
  padding: 3px;
  border-radius: 0;
}

.jp-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background: #eef2f5;
}

/* What the box says before the map arrives, and if it never does. */
.jp-map-wait {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.jp-map.is-ready .jp-map-wait {
  display: none;
}

/* The pin: a teal drop with a white centre, the itinerary map's colour. */
.jp-map-pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: #029986;
  border: 2px solid #025e53;
  transform: rotate(-45deg);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.jp-map-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #fff;
}

.jp-map .mapboxgl-popup-content {
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 13px;
  max-width: 220px;
}

.jp-map-pop-title {
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.jp-map-pop-address {
  color: #6b7280;
  line-height: 1.3;
}

@media (max-width: 991.98px) {
  .jp-map {
    min-height: 260px;
  }
}

.input-icon .jp-date-icon {
  right: 0;
  left: auto;
}

.jp-assure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 18px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #7b8794;
}

.jp-assure-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.jp-assure-item + .jp-assure-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cfd8e1;
  transform: translateY(-50%);
}

.jp-assure i {
  font-size: 12px;
  color: #9aa3b2;
}

.jp-assure i.jp-assure-ok {
  color: #12805c;
}

@media (max-width: 400px) {
  .jp-assure {
    flex-direction: column;
    gap: 5px;
  }
  .jp-assure-item + .jp-assure-item::before {
    display: none;
  }
}

.jp-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e3e9ef;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition:
          border-color 0.15s ease,
          background-color 0.15s ease;
}

.jp-agree:hover {
  border-color: #d3dce5;
  background: #fbfcfe;
}

.jp-agree.is-checked,
.jp-agree:has(.jp-agree-input:checked) {
  border-color: #ffd5cb;
  background: #fff7f4;
}

.jp-agree:has(.jp-agree-input:focus-visible) {
  border-color: #ff5533;
  box-shadow: 0 0 0 3px #fff1ec;
}

.jp-agree-input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  cursor: pointer;
}

.jp-agree-body {
  min-width: 0;
}

.jp-agree-title {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #0d1a26;
}

.jp-agree-link {
  color: #ff5533;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 85, 51, 0.4);
}

.jp-agree-link:hover,
.jp-agree-link:focus {
  color: #e23f1f;
  text-decoration-color: currentColor;
}

.jp-auth {
  margin-top: 14px;
}

.jp-auth-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #8a94a2;
}

.jp-auth-sep::before,
.jp-auth-sep::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #e6eaef;
}

.jp-auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #dfe3e9;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #1f2733;
  transition:
          border-color 0.15s ease,
          background-color 0.15s ease,
          box-shadow 0.15s ease;
}

.jp-auth-google:hover,
.jp-auth-google:focus {
  border-color: #c9d1da;
  background: #fbfcfd;
  color: #1f2733;
}

.jp-auth-google:focus-visible {
  outline: none;
  border-color: #ff5533;
  box-shadow: 0 0 0 3px #fff1ec;
}

.jp-auth-google img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.jp-auth-alt {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #8a94a2;
}

.jp-auth-alt a {
  color: #4a5563;
  font-weight: 500;
}

.jp-auth-alt a:hover,
.jp-auth-alt a:focus {
  color: #ff5533;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jp-auth-dot {
  margin: 0 5px;
  color: #cfd8e1;
}

.jp-form-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jp-form-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  transition:
          border-color 0.18s ease,
          box-shadow 0.18s ease;
}

.jp-form-item:hover {
  border-color: #f0a79c;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
}

.jp-form-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 15px;
  background: #f3f4f6;
  color: #6b7280;
}

.jp-form-ico.is-pdf {
  background: #fdeeec;
  color: #cf3425;
}

.jp-form-ico.is-doc {
  background: #eaf1fd;
  color: #2563eb;
}

.jp-form-ico.is-sheet {
  background: #e8f7ee;
  color: #15803d;
}

.jp-form-ico.is-later {
  background: #eef2f7;
  color: #8a94a2;
}

.jp-form-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.jp-form-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.jp-form-meta {
  font-size: 12px;
  line-height: 1.3;
  color: #8a94a2;
}

.jp-form-get {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 7px 14px;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: #111827;
  transition:
          border-color 0.15s ease,
          background-color 0.15s ease,
          color 0.15s ease;
}

.jp-form-get:hover,
.jp-form-get:focus {
  border-color: #cf3425;
  background: #fff7f5;
  color: #cf3425;
}

.jp-form-get:focus-visible {
  outline: none;
  border-color: #ff5533;
  box-shadow: 0 0 0 3px #fff1ec;
}

.jp-form-get i {
  font-size: 12px;
}

.jp-form-item.is-later {
  background: #fafbfc;
  border-style: dashed;
}

.jp-form-item.is-later:hover {
  border-color: #e5e7eb;
  box-shadow: none;
}

.jp-form-wait {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef2f7;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  color: #6b7280;
}

@media (max-width: 575.98px) {
  .jp-form-item {
    flex-wrap: wrap;
  }
  .jp-form-get,
  .jp-form-wait {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* The strip at the top of a review. Sticky, so it stays in view the whole way
   down a long draft. */
.jp-review-bar {
  position: sticky;
  top: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #fff3cd;
  border-bottom: 1px solid #ffe69c;
  color: #664d03;
  font-size: 13px;
  text-align: center;
}

/* ------------------------------------------------------------------ *
 * passport bio-page upload
 *
 * Used on the checkout page, not on visa details - it shares this sheet
 * because the two pages are one flow and the applicant should not see
 * the styling change under them.
 *
 * The file input FILLS the zone at opacity 0 rather than being hidden:
 * a display:none required input cannot be focused, so the browser's own
 * "please select a file" message would have nothing to point at, and the
 * form would appear to do nothing on submit.
 * ------------------------------------------------------------------ */

.jp-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px dashed #d5dbe1;
    border-radius: 8px;
    background: #fbfcfd;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.jp-upload:hover {
    border-color: var(--bs-primary, #029986);
    background: #f6fbfa;
}

/* Covers the whole box, so a click anywhere in it opens the picker. */
.jp-upload input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.jp-upload-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #eef3f5;
    color: #6b7b86;
    font-size: 18px;
}

.jp-upload-copy {
    display: flex;
    flex-direction: column;
    min-width: 0; /* lets a long filename truncate instead of stretching the row */
}

.jp-upload-title {
    font-size: 13px;
    font-weight: 500;
    color: #1f2a37;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jp-upload-hint {
    font-size: 12px;
    color: #8a97a2;
}

/* Once a file is chosen the dashes go solid: the box has been dealt with. */
.jp-upload.is-filled {
    border-style: solid;
    border-color: var(--bs-primary, #029986);
    background: #f2faf8;
}

.jp-upload.is-filled .jp-upload-ico {
    background: rgba(2, 153, 134, 0.12);
    color: var(--bs-primary, #029986);
}

/* ------------------------------------------------------------------ *
 * travel date calendar
 *
 * A day inside the booking cutoff is shown rather than hidden: somebody
 * looking at next week wants to see it is simply too soon, not find an
 * empty grid. The theme's own .disabled is barely a shade lighter than a
 * live day, so it is taken further here - faint enough to read as "not
 * available" at a glance, dark enough to still read as a date.
 * ------------------------------------------------------------------ */

.bootstrap-datetimepicker-widget td.day.disabled,
.bootstrap-datetimepicker-widget td.day.disabled:hover {
  color: #c7cdd4;
  background: transparent;
  cursor: not-allowed;
  opacity: 0.55;
  text-decoration: line-through;
  text-decoration-color: #e2e6ea;
}

/* Days outside the month on show are dimmer again, so a faded cutoff day
   is never mistaken for one belonging to the neighbouring month. */
.bootstrap-datetimepicker-widget td.day.old,
.bootstrap-datetimepicker-widget td.day.new {
  color: #e4e8ec;
}

.bootstrap-datetimepicker-widget td.day.old.disabled,
.bootstrap-datetimepicker-widget td.day.new.disabled {
  opacity: 0.4;
  text-decoration: none;
}

/* The arrows stay live now that navigation is open, so they should look it. */
.bootstrap-datetimepicker-widget th.prev,
.bootstrap-datetimepicker-widget th.next {
  color: #6b7280;
}

.bootstrap-datetimepicker-widget th.prev:hover,
.bootstrap-datetimepicker-widget th.next:hover {
  color: #cf3425;
  background: #fff6f4;
}

/* A card the map can be sent to. The pointer and the lift are the whole
   affordance — nothing is written on the card saying "click me", because the
   map beside it already explains what clicking would do. */
.jp-sub-card.is-pinnable {
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* A lighter version of the same thing, so hovering previews what clicking
   does rather than saying something different. */
.jp-sub-card.is-pinnable:hover {
  box-shadow: 0 .25rem .625rem -.25rem rgba(13, 26, 38, .14);
}

.jp-sub-card.is-pinnable:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

.jp-sub-card.is-active {
  /* A shade darker than the card's own hairline — enough to close the shape
     without reading as an accent. */
  border-color: #c9d3dd !important;
  box-shadow: 0 .375rem 1rem -.25rem rgba(13, 26, 38, .18);
}

/* An optional extra, one ticked line each. The whole line is the label, so it
   is the target rather than the box alone - and ticked says itself on the row,
   because the fee summary below has already changed and the line it changed
   for should be findable. */
.jp-addon-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .375rem;
    padding: .5rem .75rem;
    border: 1px solid #e3e9ef;
    border-radius: .5rem;
    font-size: .8125rem;
    cursor: pointer;
}

.jp-addon-row:has(input:checked) {
    border-color: rgba(2, 153, 134, .5);
    background-color: rgba(2, 153, 134, .07);
}

/* The box takes the row's own accent rather than the template's red: the row
   turns teal when it is ticked, and a red tick inside a teal row reads as two
   different states at once. */
.jp-addon-row .form-check-input {
    flex: none;
    margin: 0;
}

.jp-addon-row .form-check-input:checked {
    background-color: #029986 !important;
    border-color: #029986 !important;
}

.jp-addon-row .form-check-input:focus {
    border-color: rgba(2, 153, 134, .5);
    box-shadow: 0 0 0 .2rem rgba(2, 153, 134, .2);
}
.jp-addon-name { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.jp-addon-per { display: block; color: #6b7b8a; font-size: .6875rem; }
.jp-addon-price { color: #6b7b8a; white-space: nowrap; }