/*ANIMATIONS*/
/*=======================START-MEDIA=====================*/
/*=======================END-MEDIA=====================*/
.page.stateRegulations .mapContainerWrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 540px);
  align-items: start;
  gap: clamp(24px, 3vw, 48px);
  width: 100%;
  padding: clamp(20px, 2.5vw, 40px);
  box-sizing: border-box;
  border: 1px solid #dce6f6;
  border-radius: 24px;
  background: radial-gradient(circle at 0% 0%, rgba(88, 188, 244, 0.08), transparent 45%), linear-gradient(135deg, #ecf5ff 0%, #f5f8ff 100%);
  box-shadow: 0 12px 36px rgba(34, 63, 155, 0.05);
  margin-bottom: 50px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
@media screen and (max-width: 1600px) {
  .page.stateRegulations .mapContainerWrap {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  }
}
.page.stateRegulations .mapContainerWrap #map-container {
  padding-bottom: 51% !important;
  width: 100%;
  min-width: 0;
  margin: 0;
}
@media screen and (max-width: 1800px) {
  .page.stateRegulations .mapContainerWrap #map-container {
    padding-bottom: 53% !important;
  }
}
@media screen and (max-width: 1700px) {
  .page.stateRegulations .mapContainerWrap #map-container {
    padding-bottom: 54% !important;
  }
}
@media screen and (max-width: 1600px) {
  .page.stateRegulations .mapContainerWrap #map-container {
    padding-bottom: 55% !important;
  }
}
@media screen and (max-width: 1500px) {
  .page.stateRegulations .mapContainerWrap #map-container {
    padding-bottom: 56% !important;
  }
}
@media screen and (max-width: 1400px) {
  .page.stateRegulations .mapContainerWrap #map-container {
    padding-bottom: 57% !important;
  }
}
.page.stateRegulations .mapContainerWrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -200px;
  width: 320px;
  height: 320px;
  box-sizing: border-box;
  border-radius: 50%;
  background: transparent;
  border: 3px solid rgba(0, 140, 255, 0.3);
  box-shadow: 0 0 0 180px rgba(0, 140, 255, 0.2), 0 0 0 360px rgba(0, 140, 255, 0.1);
  transform-origin: center;
  animation: map-circles-breathe 10s ease-in-out infinite;
  pointer-events: none;
}
@media screen and (max-width: 480px) {
  .page.stateRegulations .mapContainerWrap::before {
    width: 320px;
    height: 320px;
    right: -100px;
    bottom: -140px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page.stateRegulations .mapContainerWrap::before {
    animation: none;
  }
}
.page.stateRegulations .mapContainerWrap::after {
  content: none;
}
@media screen and (min-width: 1001px) and (max-width: 1399px) {
  .page.stateRegulations .mapContainerWrap {
    grid-template-columns: minmax(0, 1fr) 252px;
  }
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .mapContainerWrap {
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 1000px) {
  .page.stateRegulations .mapContainerWrap {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media screen and (max-width: 480px) {
  .page.stateRegulations .mapContainerWrap {
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
  }
}
.page.stateRegulations .state-night-travel {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 18px;
  max-width: 420px;
}
.page.stateRegulations .state-night-travel [hidden] {
  display: none !important;
}
.page.stateRegulations .state-night-travel [data-state-message] {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #223f9b;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel [data-state-message] {
    font-size: 13px;
  }
}
.page.stateRegulations .state-night-travel__card {
  --state-accent: #8fa9e8;
  --state-accent-rgb: 143, 169, 232;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  padding: 18px;
  box-sizing: border-box;
  border: 1px solid rgba(var(--state-accent-rgb), 0.65);
  border-radius: 16px;
  color: #fff;
  background: radial-gradient(circle at 100% 100%, rgba(var(--state-accent-rgb), 0.1), transparent 55%), linear-gradient(145deg, #4f9dd9 0%, #0c173d 100%);
  box-shadow: 0 0 24px rgba(var(--state-accent-rgb), 0.12), inset 0 0 18px rgba(var(--state-accent-rgb), 0.04);
}
.page.stateRegulations .state-night-travel__card--allowed {
  --state-accent: #22d176;
  --state-accent-rgb: 34, 209, 118;
}
.page.stateRegulations .state-night-travel__card--conditional {
  --state-accent: #ffcf3f;
  --state-accent-rgb: 255, 207, 63;
}
.page.stateRegulations .state-night-travel__card--forbidden {
  --state-accent: #ff535a;
  --state-accent-rgb: 255, 83, 90;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__card {
    padding: 11px;
    border-radius: 10px;
  }
}
.page.stateRegulations .state-night-travel__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__header {
    gap: 9px;
    margin-bottom: 10px;
  }
}
.page.stateRegulations .state-night-travel__code {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 12px;
  color: #0d1739;
  background: var(--state-accent);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 20px rgba(var(--state-accent-rgb), 0.15);
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__code {
    flex-basis: 36px;
    width: 36px;
    border-radius: 8px;
    font-size: 16px;
  }
}
.page.stateRegulations .state-night-travel__heading {
  min-width: 0;
}
.page.stateRegulations .state-night-travel__name {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__name {
    margin-bottom: 4px;
    font-size: 18px;
  }
}
.page.stateRegulations .state-night-travel__counter {
  margin: 0;
  color: #a9b9e4;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__counter {
    font-size: 10px;
    letter-spacing: 0.05em;
  }
}
.page.stateRegulations .state-night-travel__status {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-bottom: 16px;
  padding: 9px 12px;
  box-sizing: border-box;
  border-radius: 100px;
  color: #0d1739;
  background: var(--state-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__status {
    min-height: 28px;
    margin-bottom: 10px;
    padding: 6px 8px;
    font-size: 11px;
    letter-spacing: 0.01em;
  }
}
.page.stateRegulations .state-night-travel__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__options {
    gap: 6px;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 360px) {
  .page.stateRegulations .state-night-travel__options {
    grid-template-columns: 1fr;
  }
}
.page.stateRegulations .state-night-travel__option {
  position: relative;
  min-width: 0;
  padding: 10px 10px 10px 18px;
  border-radius: 9px;
  background: rgba(160, 181, 237, 0.13);
}
.page.stateRegulations .state-night-travel__option::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 3px;
  border-radius: 4px;
  background: var(--state-accent);
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__option {
    padding: 7px 7px 7px 12px;
    border-radius: 6px;
  }
  .page.stateRegulations .state-night-travel__option::before {
    top: 7px;
    bottom: 7px;
    left: 5px;
    width: 2px;
  }
}
.page.stateRegulations .state-night-travel__option-name {
  margin: 0 0 5px;
  color: #b6c4e8;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__option-name {
    margin-bottom: 3px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }
}
.page.stateRegulations .state-night-travel__option-value {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__option-value {
    font-size: 15px;
  }
}
.page.stateRegulations .state-night-travel__description {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .state-night-travel__description {
    font-size: 12px;
    line-height: 1.5;
  }
}
.page.stateRegulations .introText {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .introText {
    gap: 8px;
  }
}
.page.stateRegulations .introText__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid rgba(34, 63, 155, 0.1);
  border-radius: 12px;
  color: #223f9b;
  background: #eaf0fd;
}
.page.stateRegulations .introText__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .introText__icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .page.stateRegulations .introText__icon svg {
    width: 18px;
    height: 18px;
  }
}
.page.stateRegulations .introText__text {
  margin: 0;
  padding: 0;
  color: #223f9b;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: pretty;
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .introText__text {
    font-size: 13px;
    line-height: 1.45;
  }
}
.page.stateRegulations .mapInfoWrap {
  max-width: 540px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
}
@media screen and (max-width: 1000px) {
  .page.stateRegulations .mapInfoWrap {
    max-width: 420px;
  }
}
.page.stateRegulations .mapInfoWrap .state-night-travel {
  margin-top: 0;
}
.page.stateRegulations .mapInfoWrap .state-night-travel__card {
  max-width: none;
  margin-inline: 0;
}
@media screen and (max-width: 1400px) {
  .page.stateRegulations .mapInfoWrap {
    max-width: 420px;
    margin-inline: auto;
  }
}
@media screen and (max-width: 1399px) {
  .page.stateRegulations .mapInfoWrap {
    max-width: 252px;
    gap: 12px;
  }
}
@keyframes map-circles-breathe {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.forms-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(16px, 2.0833333333vw, 32px);
  margin-bottom: clamp(28px, 3.125vw, 48px);
}
@media screen and (max-width: 450px) {
  .forms-wrapper {
    flex-direction: column;
  }
}
.forms-wrapper .new-member,
.forms-wrapper .existing {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  transition: transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .forms-wrapper .new-member:hover,
  .forms-wrapper .existing:hover {
    transform: scale(1.02);
  }
  .forms-wrapper .new-member:hover .desc,
  .forms-wrapper .existing:hover .desc {
    box-shadow: 0 4px 10px #4f9dd9;
  }
}
@media screen and (max-width: 450px) {
  .forms-wrapper .new-member,
  .forms-wrapper .existing {
    flex: auto;
    width: 100%;
  }
}
.forms-wrapper .title {
  display: block;
  width: 100%;
  padding: clamp(16px, 1.6276041667vw, 25px) clamp(14px, 1.3020833333vw, 20px);
  box-sizing: border-box;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, #1946a1 0%, #4f9dd9 100%);
  text-align: center;
  color: #fff;
  font-size: clamp(20px, 1.8229166667vw, 28px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.forms-wrapper .desc {
  display: block;
  flex: 1;
  width: 100%;
  padding: clamp(24px, 2.6041666667vw, 40px) clamp(16px, 1.6276041667vw, 25px);
  box-sizing: border-box;
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(79, 157, 217, 0.33);
  color: #212529;
  font-size: clamp(16px, 1.4322916667vw, 22px);
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: box-shadow 0.25s ease;
}
.forms-wrapper .desc > :last-child {
  margin-bottom: 0;
}

.stateRegulations--title {
  margin-top: 5rem;
  max-width: 100% !important;
  border-left: 5px solid #223F9B;
  color: #223F9B;
  margin-bottom: 30px;
}
@media screen and (max-width: 900px) {
  .stateRegulations--title {
    margin-top: 1rem;
  }
}
.stateRegulations--title h1 {
  margin: 0;
  text-align: center;
}
@media screen and (max-width: 900px) {
  .stateRegulations--title h1 {
    font-size: 28px;
  }
}

.mapContainerWrap {
  display: flex;
}

.page.stateRegulations {
  margin-top: 30px;
}
@media screen and (max-width: 1300px) {
  .page.stateRegulations .states-select {
    display: block !important;
  }
}
.page.stateRegulations .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 7px;
}
@media screen and (max-width: 1300px) {
  .page.stateRegulations .mapContainerWrap {
    display: none;
  }
}
.page.stateRegulations .night-travel-mobile {
  display: none;
  width: 100%;
  max-width: 480px;
  margin: 32px auto;
  padding: 24px;
  box-sizing: border-box;
  border: 1px solid #dce6f6;
  border-radius: 20px;
  background: #f2f7ff;
}
.page.stateRegulations .night-travel-mobile__title {
  margin: 0 0 20px;
  color: #223f9b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
@media screen and (max-width: 480px) {
  .page.stateRegulations .night-travel-mobile__title {
    font-size: 21px;
  }
}
.page.stateRegulations .night-travel-mobile__field {
  position: relative;
  margin-bottom: 20px;
}
.page.stateRegulations .night-travel-mobile__label {
  display: block;
  margin-bottom: 8px;
  color: #223f9b;
  font-size: 14px;
  font-weight: 600;
}
.page.stateRegulations .night-travel-mobile__select {
  width: 100%;
  min-height: 48px;
}
.page.stateRegulations .night-travel-mobile .state-night-travel {
  max-width: none;
  margin-top: 0;
}
.page.stateRegulations .night-travel-mobile .state-night-travel__card {
  max-width: none;
}
.page.stateRegulations .night-travel-mobile .select2-container--default .select2-selection--single {
  position: relative;
}
.page.stateRegulations .night-travel-mobile .select2-container--default .select2-selection--single .select2-selection__arrow {
  position: absolute;
  top: 0 !important;
  right: 12px;
  bottom: 0;
  width: 20px;
  height: 100%;
  margin: 0;
  transform: none;
}
.page.stateRegulations .night-travel-mobile .select2-container--default .select2-selection--single .select2-selection__arrow b {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -2px 0 0 -4px;
}
.page.stateRegulations .night-travel-mobile .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-right: 42px;
}
@media screen and (max-width: 1300px) {
  .page.stateRegulations .night-travel-mobile {
    display: block;
  }
}
@media screen and (max-width: 480px) {
  .page.stateRegulations .night-travel-mobile {
    padding: 16px;
    border-radius: 16px;
  }
}
