:root {
  --theme-color-1: #23282d;
  /* --theme-color-1: #1f3b66; */
  --gradient-1: linear-gradient(
    115deg,
    rgb(249, 206, 52),
    rgb(238, 42, 123),
    rgb(98, 40, 215)
  );
  --box-shadow: rgba(0, 0, 0, 0.25) 0 25px 50px -15px !important;
  --border-bottom-black: 1px solid #000000;
  --border-bottom-white: 1px solid #ffffff;
  --border-bottom-gray: 1px solid #dee2e6;
  --border-bottom-whitish: 1px solid #e8e8e8;
  --border-bottom-dark-grayish: 1px solid #d9e2ef;

  --site-main-color: #153e75;
  --site-main-color-light: #1b4d8c;
  --site-main-color-lighter: #4a77b0;

  --gradient-color-1: #1b6ca8;

  --main-text-color: #1f2e40;
  --body-text-color: #123254;
  --text-color-light: #a6bdd7;

  --secondary-text-color: #4a5d75;
  --placeholder-text-color: #5f6d7a;
  --placeholder-text-color-light: #c8d0d6;

  --font-family-primary: "Lato", sans-serif;
  --font-family-heading: "Barlow Semi Condensed", sans-serif;

  --gradient-default: linear-gradient(
    to bottom left,
    #c5ddf0,
    #f5faff 55%,
    #8baee7
  );

  --gradient-light: linear-gradient(
    to bottom left,
    #eef7ff,
    #ffffff 55%,
    #d6e6fb
  );
  --gradient-hover: linear-gradient(
    45deg,
    #17436d 10%,
    #2a7fbe 50%,
    #5aaee5 90%
  );
  --gradient-active: linear-gradient(
    45deg,
    #0f2c4e 10%,
    #1b6ca8 50%,
    #2b90d9 90%
  );

  --font-size: 17px;
  --font-size-1: 16px;
  --font-size-2: 15px;
  --font-size-3: 14px;
  --font-size-4: 12px;
  --font-size-5: 10px;
}

* {
  box-sizing: border-box;
  /* font-family: Rubik, sans-serif; */
  /* font-family: "Inter", sans-serif; */
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  outline: none !important;
}

body {
  margin: 0;
  background: white;
  color: var(--body-text-color);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-3);
}

strong {
  color: var(--body-text-color);
}

h1,
h2,
h3 {
  font-family: var(--font-family-heading);
}

h1,
h2,
h3,
h4 {
  color: var(--site-main-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.website_logo {
  font-family: "PT Serif", serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

h1 {
  font-size: 36px;
  line-height: 1.3;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
}

button {
  border: none;
}

.show {
  display: block;
}

a,
i,
.btn-primary {
  cursor: pointer;
}

select {
  padding: 5px;
}

.message {
  font-size: 14px;
  margin-right: 5px;
  display: none;
}

.container {
  margin: auto;
  width: 100%;
}

.alert-success {
  background-color: #d1e7dd;
}

.alert-danger {
  background-color: rgb(227 72 72);
}

.copy-message {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 10px 20px;
  transition: opacity 0.3s;
  z-index: 9999;
  display: block;
  bottom: 65px;
  right: 15px;
}

a {
  text-decoration: none;
  color: var(--body-text-color);
}

#scrollToTop,
.s-page h2 {
  line-height: 1;
}

.welcome p strong {
  font-weight: 400;
}

#caption-options-modal .prev {
  top: 50%;
  left: 2%;
}

#caption-options-modal .next {
  top: 50%;
  right: 2%;
}

.text-success {
  color: #1e9955 !important;
}

#caption-options-modal .modal-content div:first-child,
.applied-filters {
  display: flex;
  column-gap: 15px;
  flex-wrap: wrap;
}

.text-secondary,
header > div > span i {
  color: lightslategray;
}

button i {
  margin-right: 7px;
}

#scrollToTopBtn i {
  margin-right: 0;
}

#alert {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 1004;
}

.text-danger {
  color: rgb(220, 53, 69) !important;
}

.btn-primary {
  border: 1px solid var(--site-main-color) !important;
  color: var(--site-main-color);
  padding: 6px;
  display: inline-block;
  margin-top: 10px;
}

.content {
  min-height: 60vh;
}

.content p,
.content a {
  line-height: 1.5;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.center {
  justify-content: center !important;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hide {
  display: none !important;
}

#scrollToTop i {
  font-size: 24px;
}

.alert {
  position: fixed;
  bottom: 40px;
  right: 30px;
  padding: 15px;
  z-index: 1000;
}

button,
input[type="submit"] {
  background-color: transparent;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

@media only screen and (max-width: 767px) {
  .features {
    flex-direction: column;
  }
}

.features .card {
  width: 100%;
  max-width: 600px;
  flex: 1 1;
  transition: all 0.4s ease;
  border-radius: 10px;
  text-align: center;
  padding: 50px 30px;
  position: relative;
  z-index: 1;
  background: var(--gradient-light);
}

.features .card:hover {
  transform: translateY(-15px);
  background: white;
  box-shadow: 0 12px 24px rgba(21, 62, 117, 0.15),
    0 18px 36px rgba(43, 144, 217, 0.2);
}

.features h2 {
  margin-bottom: 15px;
  /* font-size: 34px; */
  font-weight: 100;
}

.features .icon {
  margin-bottom: 30px;
}

.card_text {
  line-height: 1.6;
  letter-spacing: 0.25px;
}

.content_container {
  padding: 2rem;
}

.content_container p {
  line-height: 1.8;
}

.content_container i {
  font-size: var(--font-size-4);
  padding: 0 5px;
}

.content_container > div,
.detail_container,
.results-container {
  margin-bottom: 2rem;
}

.content_container ol,
.content_container ul,
.contact ul {
  padding-left: 2rem;
  margin-bottom: 8px;
}

.how_to_use {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.how_to_use .instructions {
  flex: 1 1 550px;
}

.how_to_use .visual {
  flex: 1 1 400px;
  text-align: center;
  background: var(--gradient-default);
  border-radius: 10px;
  transition: all 0.4s ease;
  position: relative;
}

.how_to_use .visual:hover {
  transform: translateY(-15px);
  background: white;
  box-shadow: 0 12px 24px rgba(21, 62, 117, 0.15),
    0 18px 36px rgba(43, 144, 217, 0.2);
}

.how_to_use .visual img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 12px;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #029894;
}

.faq-answer {
  display: none;
  padding: 0.8rem 0 0.5rem 1.5rem;
}

.content_block {
  width: 100%;
  padding: 1.5rem;
  background-color: white;
  box-shadow: 0 0 25px rgba(25, 41, 101, 0.2);
}

.faq-answer li,
.contact li {
  margin-bottom: 0.4rem;
}

.content_block li {
  margin-bottom: 15px;
}

.content_block .content_container {
  padding: 0;
  margin-bottom: 3rem;
}

.content_block h2 {
  margin-bottom: 0.5rem;
  font-size: 24px;
}

.content_block h3 {
  font-size: 18px;
}

.content_block a {
  text-decoration: underline;
}

.content_block p,
.content_block ul {
  margin-bottom: 15px;
}

.recent_wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.recent_searches {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.recent_searches::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.recent_searches > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

/* Arrows */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-active);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: var(--font-size-4);
  z-index: 2;
  user-select: none;
  transition: background 0.2s;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-arrow i {
  font-size: x-small;
}

.scroll-arrow:hover {
  background: var(--gradient-hover);
}

.scroll-arrow.left {
  left: -1rem;
}

.scroll-arrow.right {
  right: -1rem;
}

p.name,
p > .license_no {
  display: inline-block;
  max-width: 10ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.search_item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  /* padding: 20px 24px; */
  padding: 15px;
  max-width: 220px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search_item:hover {
  transform: translateY(-3px);
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 0 16px rgba(56, 142, 255, 0.2); */
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.disable-pointer {
  pointer-events: none;
  opacity: 0.7;
}

.recent_result_spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 15px;
  margin: -7px 0 0 -7px;
  border: 2px solid #ccc;
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 5;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.name,
.license_no {
  font-weight: 600;
  color: #1f2937;
  font-size: var(--font-size-2);
  line-height: 1.4;
  word-break: break-word;
}

.state-badge {
  background-color: #e0f2fe;
  color: #0284c7;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}

.divider {
  height: 1px;
  background-color: #f1f5f9;
  margin: 12px 0;
  width: 100%;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6b7280;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.records-count {
  font-weight: 500;
}

.search-time {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.search-time::before {
  content: "•";
  margin-right: 4px;
  font-weight: bold;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .welcome .container {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
}

@media (min-width: 768px) {
  #scrollToTop {
    display: none;
  }
}

@media (min-width: 992px) {
  #scrollToTopBtn,
  #bottom-mobile-bar,
  #closeFilterContainer {
    display: none;
  }

  #scrollToTopBtn.show-scroll {
    display: inline-block;
    position: fixed;
    bottom: 15px;
    right: 15px;
    padding: 10px 15px;
    background-color: #6c757d;
    color: #fff;
    cursor: pointer;
    width: fit-content;
    z-index: 1000;
  }

  .container {
    max-width: 960px;
    margin: 0 auto;
  }

  .grid {
    position: relative;
    display: grid;
    grid-template-columns: 3fr 12fr;
    /* gap: 15px; */
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.navbar,
.website_logo,
.navbar_links,
.footer_one {
  display: flex;
  align-items: center;
}

.navbar,
.footer_one {
  justify-content: space-between;
  padding: 15px 0;
}

.navbar {
  color: var(--site-main-color);
}

.navbar_wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}

.inner_container {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .inner_container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .inner_container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .inner_container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .inner_container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .inner_container {
    max-width: 1320px;
  }
}

.nav_row {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  /* padding: 5px 0 10px; */
}

.tools-li,
.slider-labels {
  color: var(--main-text-color) !important;
}

.tool-c.mobile-active .tools-li,
.tool-c.mobile-active h3 {
  color: #fff !important;
}

.website_logo {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  gap: 5px;
}

.navbar_links {
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar_links li a,
.detail_card i {
  text-decoration: none;
  /* color: #ffffff; */
  font-size: 1rem;
  font-weight: 700;
  /* border-radius: 5px; */
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar_links li a:hover,
.detail_card i:hover {
  transform: scale(1.1);
  color: #029894;
}

.fm-links {
  display: flex;
  gap: 22px;
}

.container {
  flex-grow: 1;
}

.welcome {
  display: flex;
  align-items: center;
  padding-top: 45px;
  justify-content: center;
  text-align: center;
  margin-top: -2px;
  margin-bottom: 80px;
  background: var(--gradient-default);
  flex-direction: column;
}

.welcome .container {
  padding-bottom: 30px;
}

.welcome h1 {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

.welcome.home h1 {
  font-size: 15px;
  color: var(--site-main-color-lighter);
}

.welcome.home h2 {
  font-weight: 100;
  font-size: 32px;
}
.license {
  background: linear-gradient(45deg, #4cb8c4, #3cd3ad, #00b4db, #2c98f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease-in-out;
}

.license:hover {
  background: linear-gradient(45deg, #007cf0, #00dfd8, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  background-clip: text;
  filter: brightness(0.9);
  transform: scale(1.03);
}

.welcome p {
  color: var(--site-main-color-lighter);
  width: 100%;
  max-width: 800px;
  line-height: 1.8;
  white-space: normal;
  word-wrap: break-word;
  margin: 0 auto;
}

.welcome em {
  color: #e6e6e6;
  margin-left: 15px;
  font-style: normal;
}

.search-tabs {
  width: 100%;
  margin-top: -35px;
  z-index: 2;
}

.tab-btn {
  padding: 20px 16px;
  background: var(--site-main-color);
  color: white;
  cursor: pointer;
  margin-right: 1px;
}

.tab-btn.active {
  background: white;
  color: var(--main-text-color);
  border-bottom: var(--border-bottom-dark-grayish);
}

.search-box,
.detail_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: start;
  position: relative;
  color: var(--main-text-color);
  top: 50px;
}

@media only screen and (max-width: 991px) {
  .search-box {
    top: 0;
    padding-bottom: 2rem;
    margin-top: 35px;
  }

  .welcome {
    margin-bottom: 40px;
  }
}

#search-form {
  width: 100%;
  padding: 1.5rem;
  background-color: white;
  box-shadow: 0 0 25px rgba(25, 41, 101, 0.2);
}

.form-col p,
.contact_form p {
  font-size: 9px;
  margin-top: -12px;
  text-align: right;
  color: #4444;
  padding-right: 2px;
}

textarea {
  height: 100px;
  resize: none;
}

.form-instruction {
  margin-bottom: 20px;
  text-align: left !important;
}

.form-instruction h4 {
  margin-bottom: 4px;
}

.form-instruction p {
  font-size: 15px;
  font-style: italic;
  color: var(--secondary-text-color);
}

.source {
  margin-top: 10px;
  margin-bottom: -10px;
  text-align: right !important;
}

.source a {
  color: var(--secondary-text-color);
  font-size: 12px;
  /* font-style: italic; */
  text-decoration: underline;
}

input,
textarea {
  position: relative;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  color: var(--placeholder-text-color);
  font-size: var(--font-size-4);
}

input:focus,
textarea:focus {
  border-color: var(--gradient-color-1);
  outline: none;
}

input::placeholder {
  color: var(--placeholder-text-color-light);
  font-size: var(--font-size-4);
  font-weight: lighter;
  /* font-style: italic; */
}

.custom-select {
  position: relative;
  width: 100%;
}

label,
input,
textarea,
.select-selected,
.select-options {
  border-radius: 0 !important;
}

input,
.select-selected,
.select-options,
textarea {
  background: #fff;
  width: 100%;
  border: var(--border-bottom-dark-grayish);
  box-sizing: border-box;
}

input,
.select-selected,
textarea {
  margin-bottom: 16px;
  margin-top: 0.5rem;
  padding: 10px;
}

.select-selected {
  cursor: pointer;
  padding-left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.select-selected i {
  padding-right: 10px;
  color: #a0aec0;
}

.select-options {
  display: none;
  list-style: none;
  margin: 0;
  position: absolute;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  max-height: 223px;
  overflow-y: auto;
  margin-top: -56px;
  scrollbar-color: #ccc transparent;
}

.select-options li {
  display: flex;
  position: relative;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  color: var(--main-text-color);
  cursor: pointer;
  line-height: 24px;
  min-height: 48px;
}
.select-selected:hover,
.select-options li:hover {
  background: rgba(0, 0, 0, 0.04);
}

.custom-select.open .select-options {
  display: block;
}
.select-options .search-input {
  padding: 8px 16px;
  border-bottom: 1px solid #eee;
}

.select-options .search-input input {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: var(--border-bottom-dark-grayish);
}

.next-btn {
  margin-top: 20px;
  padding: 15px 25px;
  width: 100%;
  color: white;
  border: none;
  cursor: pointer;
  text-align: center;
  background-color: var(--site-main-color);
}

.next-btn:hover {
  background: var(--gradient-hover);
  transform: translateY(-3px);
}

.next-btn:active {
  background: var(--gradient-active);
  transform: translateY(1px);
}

.results-container {
  position: relative;
  overflow-x: auto;
}

#search-results {
  background-color: white;
  z-index: 2;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.results-table thead {
  background-color: #1b4d8c;
  color: #fff;
  text-transform: uppercase;
}

.results-table th,
.results-table td {
  padding: 10px 18px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  white-space: normal;
  word-wrap: break-word;
  max-width: 180px;
  height: 50px;
  vertical-align: middle;
}

.results-table tbody tr:hover {
  background-color: #f7faff;
}

.results-table tbody tr:last-child td {
  border-bottom: none;
}

.results-table .view-details {
  color: var(--site-main-color);
  text-decoration: none;
  font-size: 1.1rem;
}

.results-table .view-details:hover {
  color: #0d1d36;
}

@media screen and (max-width: 768px) {
  .results-table {
    border: 0;
    font-size: 0.9rem;
  }

  .results-table thead {
    display: none;
  }

  .results-table tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #d9e2ef;
    /* border-radius: 8px; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    padding: 10px 12px;
  }

  .results-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    text-align: left;
    border-bottom: 1px solid #ecf1f7;
    position: relative;
    max-width: 100%;
    height: auto;
  }

  .results-table td::before {
    content: attr(data-label);
    font-weight: 600;
    flex: 0 0 45%;
    color: #1f2e40;
  }

  .results-table td:last-child {
    border-bottom: none;
  }
}

/* Base style */
.results-table td.status-active {
  color: #28a745; /* green */
  font-weight: 500;
}

.results-table td.status-inactive {
  color: #6c757d; /* gray */
}

.results-table td.status-suspended {
  color: #dc3545; /* red */
}

.results-table td.status-expired {
  color: #fd7e14; /* orange */
}

.results-table td.status-conditional {
  color: #ffc107; /* yellow */
}

.results-table td.status-revoked {
  color: #b30000; /* dark red */
}

.results-table td.status-surrendered {
  color: #6610f2; /* purple */
}

.results-table td.status-cancelled {
  color: #343a40; /* dark gray */
}

.results-table td.status-unknown {
  color: #17a2b8; /* teal */
}

/* Pagination controls: clean buttons with soft shadows */
.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px;
}

.pagination-controls button {
  padding: 8px 16px;
  cursor: pointer;
  background-color: var(--gradient-color-1);
  border: none;
  /* border-radius: 5px; */
  color: white;
  box-shadow: 0 2px 8px rgba(70, 119, 245, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.pagination-controls button:hover:not(:disabled) {
  background-color: #155b8a;
  box-shadow: 0 4px 14px rgba(21, 91, 138, 0.6);
}

.pagination-controls button:disabled {
  cursor: not-allowed;
  background-color: #b4c2d1;
  box-shadow: none;
  color: #e5ecf2;
}

/* Blur effect on results container when loading */
.results-blur {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
}

/* Loading overlay: translucent with subtle drop shadow */
.results-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  /* border-radius: 10px; */
  box-shadow: 0 4px 16px rgba(50, 90, 150, 0.15);
}

/* Spinner styling: medium blue */
.spinner-border {
  width: 2.2rem;
  height: 2.2rem;
  border: 0.3em solid #4677f5;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 800px) {
  .form-instruction p {
    padding-top: 12px;
    font-size: 10px;
  }
}

/* Responsive tweaks for smaller screens */
@media (max-width: 600px) {
  .results-table {
    font-size: 14px;
  }

  .pagination-controls button {
    padding: 6px 12px;
    font-size: 14px;
  }
}

.states {
  display: flex;
}
@media only screen and (max-width: 1250px) {
  .states {
    padding-top: 1rem;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
}
img {
  max-width: 100%;
  height: auto;
}

.states .usa-flag {
  background: linear-gradient(180deg, #123254, #1e5692);
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 300px;
}
@media only screen and (max-width: 1250px) {
  .states .usa-flag {
    padding: 2.5rem 2rem;
    width: 100%;
    text-align: center;
  }
}

.states .usa-flag h2 {
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  padding-top: 30px;
  font-weight: 500;
  font-size: 43px;
}

.states .states_list {
  margin-top: 2rem;
  display: grid;
  grid-gap: 20px;
  list-style: none;
  flex: 1 1;
  grid-template-columns: auto auto auto auto auto;
  margin-bottom: 2rem;
}

@media only screen and (max-width: 1024px) {
  .states .states_list {
    grid-template-columns: auto auto auto auto;
    text-align: center;
    padding: 0;
  }
}
@media only screen and (max-width: 1250px) {
  .states .states_list {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    text-align: center;
    padding: 0;
  }
}

.footer_one_wrapper {
  background: var(--site-main-color-light);
}

.footer_one_wrapper a,
.footer_one_wrapper span:not(.license) {
  color: white;
}

.footer_one {
  justify-content: space-between;
}
@media (max-width: 1024px) {
  .footer_one,
  .footer_one .nav_row,
  .footer_one .navbar_links:not(.social_links) {
    flex-direction: column;
    align-items: flex-start;
    column-gap: 0;
    row-gap: 1.5rem;
  }
  .footer_one .footer_logo {
    display: block;
    width: fit-content;
    margin: auto;
  }
  .footer_two p {
    text-align: center;
  }
}

.footer_one .social_links {
  gap: 1rem;
}

.footer_two_wrapper {
  color: var(--text-color-light);
  background-color: var(--site-main-color);
  padding-top: 1rem;
  padding-bottom: 1rem;
  line-height: 1.8;
}

.footer_two_wrapper p:not(:last-of-type) {
  margin-bottom: 15px;
}

.footer_two_wrapper a {
  font-weight: bold;
  color: var(--text-color-light);
  font-weight: bold;
}

.welcome.detail {
  padding-bottom: 185px;
}

.detail_container {
  margin-top: -230px;
  top: 0;
  padding-bottom: 2rem;
}

.detail_card {
  width: 100%;
  background-color: white;
  box-shadow: 0 0 25px rgba(25, 41, 101, 0.2);
}

.contact {
  padding: 1.5rem;
}

.contact_form {
  margin-bottom: 2rem;
}

.contact_form button {
  margin-top: 3px;
  max-width: 170px;
}

.license-header {
  background: var(--site-main-color);
  padding: 20px 16px;
  color: white;
  /* border-top-left-radius: 10px;
  border-top-right-radius: 10px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.print-btn {
  color: white;
}

.license-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  row-gap: 12px;
  padding: 20px 16px;
}

.license-grid label {
  max-width: 150px;
  width: 100%;
}

.badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge {
  padding: 4px 10px;
  border-radius: 5px;
  color: white;
  background-color: #6c757d;
}

label > span {
  font-size: var(--font-size-4);
  font-weight: 400;
  margin-left: 5px;
  color: #a0aec0;
}
.share-modal-content,
span[disabled],
span[disabled] {
  opacity: 0.5;
  pointer-events: none !important;
  color: gray;
  cursor: not-allowed;
}

.form-section {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px; /* Applies both row & column gaps by default */
}

/* Default: 100% width on smallest screens */
.form-col {
  flex: 1 1 100%;
}

/* Tablet + Mobile: 2 per row */
@media (max-width: 1024px) {
  .form-col {
    flex: 1 1 calc(50% - 12.5px); /* 2 columns with gap */
  }
}

/* Desktop: 5 per row */
@media (min-width: 1025px) {
  .form-col {
    flex: 1 1 calc(20% - 20px); /* 5 columns with spacing */
  }
}

@use postcss-preset-env {
  stage: 0;
  autoprefixer: {
    grid: true;
  }
  browsers: last 2 versions;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 20px 24px;
  }
}

@media (max-width: 1024px) {
  .scroll-to-top-button {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px; /* Slightly smaller than desktop for visual hierarchy */
  }

  .content_block h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
  }

  h4 {
    font-size: 14px;
  }

  .license-grid {
    grid-template-columns: 150px 1fr;
  }

  ul.navbar_links li a {
    font-size: 13px;
  }

  .website_logo span {
    font-size: 0.8rem !important;
  }

  .website_logo img {
    width: 30px;
  }
  /* .navbar {
        padding: 10px 24px;
    } */
}
.blog {
  padding-bottom: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  border-bottom: 1px solid #e2e8f0;
}

.blog:last-child {
  border-bottom: none;
}

.blog:hover h2 {
  background: linear-gradient(45deg, #4cb8c4, #3cd3ad, #00b4db, #2c98f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease-in-out;
}

.blog a {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.blog h2 {
  margin-bottom: 10px !important;
  line-height: 1.3;
}

.blog p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0 !important;
  color: #333;
}

.blog p:last-child {
  margin-top: 12px;
  font-size: 14px;
  color: #777;
}
