/**
 * @file
 * VEX Passport locator page styles.
 */

.vp-locator-page {
  background: #f4f6f8;
}

.passport-logo-banner {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.vp-locator-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #F2F2F2 !important;
}

.vp-main-column {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vp-map-wrap,
.vp-results-panel,
.vp-filters .card,
.vp-filters .vp-filter-search,
.vp-filter-actions {
  border: 1px solid #d9dee5;
  background: #fff;
}

.vp-map-wrap {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}

#vp-locator-map {
  width: 100%;
  height: 640px;
}

.vp-results-panel {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.vp-panel__header {
  background: #ffffff;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  color: #1f2937;
  margin: 0;
  margin-top: 0 !important;
  padding: 1rem;
}

.vp-panel__title {
font-size: 1.75rem;
font-weight: bold;
margin-bottom: 1rem;
position: relative;
}

.vp-platform-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.vp-summary-tile {
  background: #ffffff;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  text-align: center;
}

.vp-summary-tile__badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  width: 100%;
  margin-bottom: 0 !important;
}

.vp-summary-tile__badge {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.vp-summary-tile__fallback-label {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.vp-summary-tile__value {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.vp-summary-total-wrap {
  margin-top: 0.85rem;
}

.vp-summary-total {
  background: #ffffff;
  border: 1px solid #DDDDDD;
  color: #1f2937;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.vp-summary-total__row {
  display: flex;
  flex-direction: column;
}

.vp-summary-total__label {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: #000;
}

.vp-summary-total__value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.35rem;
}

.vp-platform-summary__empty {
  grid-column: 1 / -1;
  padding: 0.9rem 1rem;
  background: #f8fbff;
  border: 1px solid #d9e7fb;
  border-radius: 8px;
}

.vp-filters {
  flex: 0 0 340px;
  max-width: 340px;
}

.vp-filters__inner {
  position: sticky;
  top: 1rem;
}

.vp-filter-actions {
  padding: 1rem;
}

.vp-filter-search {
  padding: 1rem;
}

.vp-filter-search .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vp-filters .form-control {
  min-height: 46px;
  border-radius: 0.375rem;
}

.vp-filters .card {
  border-radius: 0;
  box-shadow: none;
}

.vp-filters .card-header {
  background: #fff;
  font-weight: 600;
  padding: 0.9rem 1rem;
}

.vp-filters .card-body {
  padding: 1rem;
}

.vp-filters .form-check {
  margin-bottom: 0.6rem;
}

.vp-filters .form-check:last-child {
  margin-bottom: 0;
}

.vp-filters .form-check-input {
  margin-top: 0.2rem;
}

.vp-result {
  border-bottom: 1px solid #edf0f4;
  cursor: pointer;
  transition: background 0.15s ease, border-left-color 0.15s ease;
}

.vp-result:last-child {
  border-bottom: none;
}

.vp-result:hover {
  background: #f4fbf6;
}

.vp-result--active {
  background: #edf9f0 !important;
  border-left: 4px solid #2f9e44;
}

.vp-result__inner {
  padding: 1rem;
}

.vp-result--active .vp-result__inner {
  padding-left: calc(1rem - 4px);
}

.vp-result__name {
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
  margin-bottom: 0.1rem;
}

.vp-result__org {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.vp-result__loc {
  font-size: 0.82rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.vp-icon {
  width: 11px;
  height: 11px;
  fill: #c1121f;
  flex-shrink: 0;
}

.vp-result__bio {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.45;
  margin-bottom: 0.6rem;
}

.vp-result__platforms,
.vp-iw__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.vp-result__links,
.vp-iw__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vp-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.vp-badge--123 {
  background: #7A4183;
  color: #ffffff;
}

.vp-badge--go {
  background: #007377;
  color: #ffffff;
}

.vp-badge--aim {
  background: #001A70;
  color: #ffffff;
}

.vp-badge--iq,
.vp-badge--viqc {
  background: #0077C8;
  color: #ffffff;
}

.vp-badge--exp {
  background: #D22630;
  color: #ffffff;
}

.vp-badge--v5,
.vp-badge--vrc {
  background: #D22630;
  color: #ffffff;
}

.vp-badge--cte {
  background: #008533;
  color: #ffffff;
}

.vp-badge--air {
  background: #D1420A;
  color: #ffffff;
}

.vp-badge--vr {
  background: #B6862D;
  color: #ffffff;
}

.vp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.375rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}

.vp-btn:hover {
  opacity: 0.9;
}

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

.vp-btn--primary:hover {
  background: #0b5ed7;
  color: #ffffff;
}

.vp-btn--secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.vp-iw {
  font-family: inherit;
  padding: 0.125rem 0.125rem 0.375rem;
  max-width: 320px;
}

.vp-iw__name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.1rem;
}

.vp-iw__org {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.vp-iw__loc {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.vp-iw__bio {
  font-size: 0.83rem;
  color: #374151;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  border-top: 1px solid #f3f4f6;
  padding-top: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vp-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(229, 229, 229, 0.85);
  z-index: 10;
  gap: 0.75rem;
  pointer-events: none;
}

.vp-loading__spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 4px solid #d1d5db;
  border-top-color: #c1121f;
  border-radius: 50%;
  animation: vp-spin 0.8s linear infinite;
}

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

.vp-loading__msg {
  margin: 0;
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

.vp-map-wrap .leaflet-control-zoom {
  border: none;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.vp-map-wrap .leaflet-control-zoom a {
  color: #111827;
}

.vp-map-wrap .leaflet-popup-content-wrapper {
  border-radius: 0.875rem;
}

.vp-map-wrap .leaflet-popup-content {
  margin: 0.5rem 0.625rem;
  max-height: min(320px, calc(100vh - 220px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.vp-map-wrap .marker-cluster-small,
.vp-map-wrap .marker-cluster-medium,
.vp-map-wrap .marker-cluster-large {
  background: rgba(193, 18, 31, 0.18);
}

.vp-map-wrap .marker-cluster-small div,
.vp-map-wrap .marker-cluster-medium div,
.vp-map-wrap .marker-cluster-large div {
  background: #c1121f;
  color: #fff;
  font-weight: 700;
}

.vp-leaflet-pin-wrap {
  background: transparent;
  border: none;
}

.vp-leaflet-pin {
  position: relative;
  display: block;
  width: 24px;
  height: 34px;
  background: #cc2200;
  border: 2px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.22);
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
}

.vp-leaflet-pin.is-active {
  width: 28px;
  height: 40px;
  background: #2f9e44;
  border-width: 3px;
}

.vp-leaflet-pin__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.vp-profile-form .btn.btn-primary,
.vp-filters .btn.btn-primary {
  width: 100%;
}

@media (max-width: 1199.98px) {
  .vp-locator-layout {
    flex-direction: column;
  }

  .vp-filters {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  .vp-filters__inner {
    position: static;
  }
}

@media (max-width: 767.98px) {
  #vp-locator-map {
    height: 460px;
  }

  .vp-map-wrap {
    min-height: 460px;
  }

  .vp-results-panel {
    max-height: 360px;
    min-height: 360px;
  }
}


/* Platform filter structure + fallback logo styling */
.vp-filters.video-library .form-checkboxes.bef-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vp-filters.video-library .form-checkboxes.bef-checkboxes .form-check {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  border: 1px solid #d9dee5;
  border-radius: 0.5rem;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 120px auto !important;
}

.vp-filters.video-library .form-checkboxes.bef-checkboxes .form-check-input {
  flex: 0 0 auto;
}

.vp-filters.video-library .form-checkboxes.bef-checkboxes .form-check-label {
  display: inline-block;
  padding-left: 0.35rem;
  padding-right: 135px;
  font-weight: 600;
  width: 100%;
}

.vp-filters.video-library .form-checkboxes .parentFilterDivValue-24,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-24,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-24 {
  display: none !important; 
  background-image: url(/themes/custom/community/assets/img/educator-network/list-general-v2.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-1,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-1,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-1 {
  background-image: url(/themes/custom/community/assets/img/educator-network/list-123-v2.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-2,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-2,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-2 {
  background-image: url(/themes/custom/community/assets/img/educator-network/list-go-v2.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-126,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-126,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-126 {
  background-image: url(/themes/custom/community/assets/img/educator-network/list-aim-v2.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-5,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-5,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-5 {
  background-image: url(/themes/custom/community/assets/img/educator-network/list-iq-v2.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-28,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-28,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-28 {
  display: none;
  background-image: url(/themes/custom/community/assets/img/educator-network/list-viqc-v2.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-45,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-45,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-45 {
  background-image: url(/themes/custom/community/assets/img/educator-network/list-exp-v2.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-4,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-4,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-4 {
  background-image: url(/themes/custom/community/assets/img/educator-network/list-v5-v2.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-29,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-29,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-29 {
  display: none;
  background-image: url(/themes/custom/community/assets/img/educator-network/list-vrc-v2.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-120,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-120,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-120 {
  background-image: url(/themes/custom/community/assets/img/educator-network/list-cte-v2.png);
}

.vp-filters.video-library .form-checkboxes .parentFilterDivValue-131,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-131,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-131 {
  background-image: url(/themes/custom/community/assets/img/educator-network/list-air.png);
}
.vp-filters.video-library .form-checkboxes .parentFilterDivValue-3,
.vp-filters.video-library .form-checkboxes .form-item-field-vex-platform-3,
.vp-filters.video-library .form-checkboxes .js-form-item-field-vex-platform-3 {
  background-image: url(/themes/custom/community/assets/img/educator-network/list-vr-v2.png);
}

@media (max-width: 991.98px) {
  .vp-filters.video-library .form-checkboxes.bef-checkboxes .form-check {
    background-size: 96px auto !important;
  }

  .vp-filters.video-library .form-checkboxes.bef-checkboxes .form-check-label {
    padding-right: 105px;
  }
}

#userDashboard .row.dashboardSection img,
#generalDashboard .row.dashboardSection img {
  margin-top: 0 !important;
}


.dashboardSection img {
  margin-top: 0 !important;
}

.dashboardSection img:first-of-type {
  margin-top: -65px !important;
}


  .vp-filters__inner .card-header {
    background: #344050;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    color: #fff;
    text-align: left;
    margin: 0;
    margin-top: 0 !important;
    font-weight: bold;
    font-size: 1rem;
}


.row.dashboardSection {
  max-width: 1360px !important;
}

.leaflet-control-attribution.leaflet-control {
  display: none;
}
.parentFilterDivValue-24,
.parentFilterDivValue-28,
.parentFilterDivValue-29 {
  display: none !important;
}

#vpLocatorSettingsModal .modal-dialog,
#vpLocatorSettingsModal .modal-dialog {
  max-width: 820px;
}

#vpLocatorSettingsModal .modal-content,
#vpLocatorSettingsModal .modal-content {
  border: 0;
  border-radius: 0.5rem;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.22);
}

#vpLocatorSettingsModal .modal-header,
#vpLocatorSettingsModal .modal-header {
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

#vpLocatorSettingsModal .modal-title,
#vpLocatorSettingsModal .modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

#vpLocatorSettingsModal .modal-body,
#vpLocatorSettingsModal .modal-body {
  padding: 1.25rem;
}

#vpLocatorSettingsModal .vp-profile-form > .js-form-item,
#vpLocatorSettingsModal .vp-profile-form > .form-item,
#vpLocatorSettingsModal .vp-profile-form > .js-form-wrapper,
#vpLocatorSettingsModal .vp-profile-form details,
#vpLocatorSettingsModal .vp-profile-form .form-item,
#vpLocatorSettingsModal .vp-profile-form .js-form-item,
#vpLocatorSettingsModal .vp-profile-form > .js-form-item,
#vpLocatorSettingsModal .vp-profile-form > .form-item,
#vpLocatorSettingsModal .vp-profile-form > .js-form-wrapper,
#vpLocatorSettingsModal .vp-profile-form details,
#vpLocatorSettingsModal .vp-profile-form .form-item,
#vpLocatorSettingsModal .vp-profile-form .js-form-item {
  margin-bottom: 1rem;
}

#vpLocatorSettingsModal .vp-profile-form label,
#vpLocatorSettingsModal .vp-profile-form label {
  display: inline-block;
  margin-bottom: 0.375rem;
  font-weight: 600;
}

#vpLocatorSettingsModal .vp-profile-form input[type="text"],
#vpLocatorSettingsModal .vp-profile-form input[type="url"],
#vpLocatorSettingsModal .vp-profile-form input[type="number"],
#vpLocatorSettingsModal .vp-profile-form textarea,
#vpLocatorSettingsModal .vp-profile-form select,
#vpLocatorSettingsModal .vp-profile-form input[type="text"],
#vpLocatorSettingsModal .vp-profile-form input[type="url"],
#vpLocatorSettingsModal .vp-profile-form input[type="number"],
#vpLocatorSettingsModal .vp-profile-form textarea,
#vpLocatorSettingsModal .vp-profile-form select {
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0;
  background: #fff;
}

#vpLocatorSettingsModal .vp-profile-form textarea,
#vpLocatorSettingsModal .vp-profile-form textarea {
  min-height: 120px;
}

#vpLocatorSettingsModal .vp-profile-form input[type="checkbox"],
#vpLocatorSettingsModal .vp-profile-form input[type="checkbox"] {
  margin-right: 0.5rem;
}

#vpLocatorSettingsModal .vp-profile-form .description,
#vpLocatorSettingsModal .vp-profile-form .form-item__description,
#vpLocatorSettingsModal .vp-profile-form .form-text,
#vpLocatorSettingsModal .vp-profile-form .form-item--description,
#vpLocatorSettingsModal .vp-profile-form .description,
#vpLocatorSettingsModal .vp-profile-form .form-item__description,
#vpLocatorSettingsModal .vp-profile-form .form-text,
#vpLocatorSettingsModal .vp-profile-form .form-item--description {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}

#vpLocatorSettingsModal .vp-profile-form details,
#vpLocatorSettingsModal .vp-profile-form details {
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 1rem;
}

#vpLocatorSettingsModal .vp-profile-form details > summary,
#vpLocatorSettingsModal .vp-profile-form details > summary {
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

#vpLocatorSettingsModal .vp-profile-form .form-actions,
#vpLocatorSettingsModal .vp-profile-form .form-actions {
  margin-top: 1rem;
}

#vpLocatorSettingsModal .vp-profile-form .form-actions .btn,
#vpLocatorSettingsModal .vp-profile-form .form-actions input[type="submit"],
#vpLocatorSettingsModal .vp-profile-form .form-actions .btn,
#vpLocatorSettingsModal .vp-profile-form .form-actions input[type="submit"] {
  width: auto;
  min-width: 180px;
  padding: 0.625rem 1rem;
}

#navlink_dashboard {
  background: none !important;
}


#edit-submit {
background: #006BB4 !important;
}

#edit-settings .card-header,
#edit-location .card-header {
  background: none;
  padding-left: 0;
}

.vp-btn--secondary {
  display: none;
}

.btn-primary {
  color: white !important;
}

#vp-search {
  font-size: 13px !important;
 /* border: none !important; */
}

.vp-leaflet-pin-wrap {
  background: transparent;
  border: none;
}

.vp-leaflet-pin {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  background: linear-gradient(180deg, #e23b2d 0%, #c1121f 100%);
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  box-shadow:
    0 10px 22px rgba(17, 24, 39, 0.22),
    0 2px 6px rgba(17, 24, 39, 0.12);
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.vp-leaflet-pin:hover {
  box-shadow:
    0 14px 28px rgba(17, 24, 39, 0.28),
    0 4px 10px rgba(17, 24, 39, 0.14);
}

.vp-leaflet-pin__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.vp-leaflet-pin.is-active {
  width: 34px;
  height: 34px;
  background: linear-gradient(180deg, #22c55e 0%, #008533 100%);
  border-width: 3px;
  box-shadow:
    0 16px 30px rgba(0, 133, 51, 0.28),
    0 0 0 6px rgba(0, 133, 51, 0.14);
}

.vp-leaflet-pin.is-active::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50% 50% 50% 0;
  border: 2px solid rgba(0, 133, 51, 0.28);
  animation: vp-pin-pulse 1.6s ease-out infinite;
}

@keyframes vp-pin-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}
.vp-map-wrap .marker-cluster-small,
.vp-map-wrap .marker-cluster-medium,
.vp-map-wrap .marker-cluster-large {
  background: rgba(193, 18, 31, 0.14);
  border: 0;
}

.vp-map-wrap .marker-cluster-small div,
.vp-map-wrap .marker-cluster-medium div,
.vp-map-wrap .marker-cluster-large div {
  background: linear-gradient(180deg, #d22630 0%, #a80f1b 100%);
  color: #fff;
  font-weight: 700;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.18);
}

.vp-map-wrap .marker-cluster-small,
.vp-map-wrap .marker-cluster-medium,
.vp-map-wrap .marker-cluster-large {
  background: rgba(193, 18, 31, 0.18);
  border-radius: 50%;
}

.vp-map-wrap .marker-cluster-small div,
.vp-map-wrap .marker-cluster-medium div,
.vp-map-wrap .marker-cluster-large div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  background: #c1121f;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.marker-cluster span {
  font-size: 16px;
}

/* Latest locator polish overrides. */
.vp-map-wrap .leaflet-control-fullscreen a {
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
}

#vp-locator-map:fullscreen,
#vp-locator-map:-webkit-full-screen {
  background: #fff;
}

.vp-map-wrap .marker-cluster-small,
.vp-map-wrap .marker-cluster-medium,
.vp-map-wrap .marker-cluster-large {
  background: rgba(193, 18, 31, 0.18);
  border-radius: 50%;
  border: 0;
}

.vp-map-wrap .marker-cluster-small div,
.vp-map-wrap .marker-cluster-medium div,
.vp-map-wrap .marker-cluster-large div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #d22630 0%, #a80f1b 100%);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.18);
}

.marker-cluster span {
  font-size: 16px;
}


.vp-passport-profile-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  min-height: 430px;
  border: 1px solid #d9dee5;
  border-radius: 0;
  box-shadow: none;
}

.vp-passport-profile-card .user-info-container {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.vp-passport-profile-card .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.25rem 1rem;
}

.vp-passport-profile-card__image-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.vp-passport-profile-card__image,
.vp-passport-profile-card__placeholder {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
}

.vp-passport-profile-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #344050;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.vp-passport-profile-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.vp-passport-profile-card__subtitle {
  color: #6b7280;
  font-size: 0.95rem;
}

.vp-passport-profile-card__shared {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.vp-passport-profile-card__shared-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.vp-passport-profile-card__list {
  margin: 0;
}

.vp-passport-profile-card__list-row {
  margin-bottom: 0.85rem;
}

.vp-passport-profile-card__list-row:last-child {
  margin-bottom: 0;
}

.vp-passport-profile-card__list dt {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vp-passport-profile-card__list dd {
  margin: 0;
  color: #111827;
  word-break: break-word;
}

.vp-passport-profile-card__list dd a {
  display: inline-block;
  margin-top: 0.35rem;
}

.vp-passport-profile-card__empty {
  color: #6b7280;
  font-size: 0.95rem;
}

.vp-passport-profile-card__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

#vpLocatorSettingsModal .btn-outline-primary,
#vpLocatorSettingsModal .btn-outline-primary {
  color: #006bb4;
  border-color: #006bb4;
}


#vpLocatorSettingsModal .vp-modal-section--profile,
#vpLocatorSettingsModal .vp-modal-section--permissions {
  display: block;
}

#vpLocatorSettingsModal[data-vp-active-section="profile"] .vp-modal-section--permissions,
#vpLocatorSettingsModal[data-vp-active-section="permissions"] .vp-modal-section--profile {
  display: none;
}


.vp-iw__image-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.vp-iw__image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 !important;
}


.vp-results-panel__body {
  padding: 0 1rem 1rem;
  background: #ffffff;
}

.vp-results-panel__subtext {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
}
