.mapfsc-support,
.mapfsc-support *,
.mapfsc-modal,
.mapfsc-modal * {
  box-sizing: border-box;
}

.mapfsc-support {
  position: relative;
  margin: 1px 0 20px;
  padding: 16px 17px 16px;
  overflow: hidden;
  border: 1px solid #d2e1ee;
  border-radius: 7px;
  background: linear-gradient(135deg, #fbfdff 0%, #f0f7fd 100%);
  box-shadow: 0 5px 16px rgba(31, 82, 130, .08);
  color: #314861;
}

.mapfsc-support::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #176fc9 0%, #4d96db 62%, #9bc4ea 100%);
}

.mapfsc-support::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: -48px;
  right: -52px;
  width: 145px;
  height: 145px;
  border: 20px solid rgba(68, 130, 201, .045);
  border-radius: 50%;
  pointer-events: none;
}

.mapfsc-support__title {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
  color: #243c57;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.mapfsc-support__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mapfsc-support__title i {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #b9ddc8;
  border-radius: 50%;
  background: #edf8f1;
  color: #269456;
  font-size: 12px;
}

.mapfsc-support__title strong {
  color: #173957;
  font-weight: 700;
}

.mapfsc-support__item:last-child {
  padding-left: 32px;
}

.mapfsc-support__item:last-child strong {
  color: #63778b;
  font-size: 11px;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.mapfsc-support__devices {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-left: 32px;
}

.form-container .mapfsc-device-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid #bfd3e5;
  border-radius: 4px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 5px rgba(25, 71, 112, .07);
  color: #176fc9;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.form-container .mapfsc-device-link::after {
  content: '\f105';
  font-family: FontAwesome;
  color: #79a3c9;
  font-size: 11px;
  font-weight: 400;
}

.form-container .mapfsc-device-link:hover,
.form-container .mapfsc-device-link:focus {
  border-color: #4482c9;
  background: #4482c9;
  box-shadow: 0 5px 13px rgba(39, 101, 166, .18);
  color: #fff;
  outline: 0;
  transform: translateY(-1px);
}

.form-container .mapfsc-device-link:hover::after,
.form-container .mapfsc-device-link:focus::after {
  color: #fff;
}

.mapfsc-modal[hidden] {
  display: none !important;
}

.mapfsc-modal {
  position: fixed;
  z-index: 10040;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease;
}

.mapfsc-modal.is-open {
  opacity: 1;
}

.mapfsc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 36, .68);
  backdrop-filter: blur(3px);
}

.mapfsc-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 820px);
  max-height: min(88vh, 780px);
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(1, 16, 34, .36);
  outline: 0;
  transform: translateY(12px) scale(.985);
  transition: transform .2s ease;
}

.mapfsc-modal.is-open .mapfsc-modal__dialog {
  transform: translateY(0) scale(1);
}

.mapfsc-modal__header {
  position: relative;
  flex: 0 0 auto;
  padding: 24px 74px 22px 26px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(125deg, #114f8e 0%, #176fc9 58%, #448ed5 100%);
  color: #fff;
}

.mapfsc-modal__header::after {
  content: '';
  position: absolute;
  right: -34px;
  bottom: -67px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.mapfsc-modal__eyebrow {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 5px;
  color: #d9ebfb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mapfsc-modal__header h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 5px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.mapfsc-modal__header p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  color: #eaf5ff;
  font-size: 13px;
  line-height: 1.5;
}

.form-container .mapfsc-modal__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
}

.form-container .mapfsc-modal__close:hover,
.form-container .mapfsc-modal__close:focus {
  border-color: #fff;
  background: #fff;
  color: #176fc9;
  outline: 0;
}

.mapfsc-modal__body {
  overflow: auto;
  padding: 22px 26px 24px;
  border-radius: 0 0 10px 10px;
  background: #fff;
  scrollbar-color: #aabfd2 #edf3f8;
  scrollbar-width: thin;
}

.mapfsc-headunit-summary {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 17px;
  padding: 12px 14px;
  border: 1px solid #dce8f2;
  border-radius: 6px;
  background: #f7fafc;
  color: #52667c;
  font-size: 13px;
  line-height: 1.5;
}

.mapfsc-headunit-summary i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #4482c9;
  font-size: 16px;
}

.mapfsc-table-wrap {
  overflow-x: auto;
  border: 1px solid #d8e2eb;
  border-radius: 7px;
}

.mapfsc-headunit-table {
  width: 100%;
  min-width: 510px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #263b53;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.mapfsc-headunit-table th {
  position: sticky;
  z-index: 1;
  top: 0;
  padding: 12px 15px;
  border: 0;
  border-bottom: 1px solid #cad8e5;
  background: #eaf2f9;
  color: #294968;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.mapfsc-headunit-table th:first-child {
  width: 62%;
}

.mapfsc-headunit-table td {
  padding: 11px 15px;
  border: 0;
  border-bottom: 1px solid #e1e8ef;
  background: #fff;
  vertical-align: middle;
}

.mapfsc-headunit-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.mapfsc-headunit-table tbody tr:last-child td {
  border-bottom: 0;
}

.mapfsc-headunit-table tbody tr:hover td {
  background: #edf6ff;
}

.mapfsc-headunit-table td:first-child {
  color: #172d47;
  font-weight: 600;
}

.mapfsc-modal__note {
  margin: 15px 1px 0;
  color: #75869a;
  font-size: 11px;
  line-height: 1.55;
}

body.mapfsc-modal-open {
  overflow: hidden;
}

.ul-ncd a.mapfsc-maps-link {
  color: #176fc9;
  font-weight: 700;
  text-decoration: none;
}

.ul-ncd a.mapfsc-maps-link:hover,
.ul-ncd a.mapfsc-maps-link:focus {
  color: #105da9;
  text-decoration: underline;
}

.mapfsc-fi-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 22px 0 8px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid #e4d3bd;
  border-bottom: 1px solid #e4d3bd;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #624a2d;
}

.mapfsc-fi-card__icon {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5bd8a;
  border-radius: 50%;
  background: #fff6e9;
  box-shadow: none;
  color: #c97a17;
  font-size: 16px;
}

.mapfsc-fi-card__content {
  min-width: 0;
}

.mapfsc-fi-card__content > strong {
  display: block;
  color: #4b3a25;
  font-size: 14px;
  line-height: 1.4;
}

.mapfsc-fi-card__content p {
  margin: 6px 0 3px;
  color: #6d6459;
  font-size: 12px;
  line-height: 1.5;
}

.mapfsc-fi-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #b96d10;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mapfsc-fi-card__link:hover,
.mapfsc-fi-card__link:focus {
  background: transparent;
  box-shadow: none;
  color: #8e5008;
  outline: 0;
  text-decoration: underline;
  transform: translateX(2px);
}

@media only screen and (max-width: 640px) {
  .mapfsc-support {
    padding: 15px 14px 14px;
  }

  .mapfsc-support__devices {
    gap: 7px;
    padding-left: 0;
  }

  .mapfsc-support__item:last-child {
    padding-left: 0;
  }

  .form-container .mapfsc-device-link {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .mapfsc-modal {
    align-items: flex-end;
    padding: 0;
  }

  .mapfsc-modal__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 12px 12px 0 0;
    transform: translateY(24px);
  }

  .mapfsc-modal__header {
    padding: 20px 62px 18px 18px;
    border-radius: 12px 12px 0 0;
  }

  .mapfsc-modal__header h2 {
    font-size: 22px;
  }

  .form-container .mapfsc-modal__close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
  }

  .mapfsc-modal__body {
    padding: 16px 14px 20px;
    border-radius: 0;
  }

  .mapfsc-headunit-summary {
    margin-bottom: 13px;
  }

  .mapfsc-headunit-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 11px;
  }

  .mapfsc-headunit-table th,
  .mapfsc-headunit-table td {
    padding: 9px 10px;
    overflow-wrap: anywhere;
  }

  .mapfsc-headunit-table th {
    font-size: 10px;
    letter-spacing: .02em;
  }

  .mapfsc-headunit-table th:first-child {
    width: 62%;
  }

  .mapfsc-fi-card {
    padding: 16px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mapfsc-modal,
  .mapfsc-modal__dialog,
  .form-container .mapfsc-device-link {
    transition: none;
  }
}
