/* header/banner */
.autocomplete-wrapper {
  position: relative;
}

.dropdown-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.dropdown-item.no-results {
  cursor: default;
  color: #999;
}

.app-header {
  position: relative;
  background: linear-gradient(180deg, var(--blue) 0%, #1f5fb0 100%);
  color: #fff;
  padding: 18px 16px 42px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  box-shadow: 0 6px 18px rgba(27, 66, 128, 0.12);
}

.app-header .row {
  align-items: center;
}

.back-btn {
  color: #fff;
  font-size: 24px;
  border: 0;
  background: transparent;
  padding: 0 8px;
  line-height: 1;
}

.title-wrap {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
}

.badge-passport {
  background: var(--accent);
  color: #111;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08) inset;
  font-size: 14px;
}

.header-title-small {
  opacity: .95;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.hero-banner {
  background: var(--blue);
  margin-top: 14px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-yellow {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  height: 64px;
  background: var(--accent);
  display: flex;
  align-items: center;
  padding-left: 22px;
  font-weight: 900;
  font-size: 64px;
  color: #111;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  letter-spacing: -2px;
}

.hero-icon {
  position: absolute;
  bottom: 10px;
  width: 62px;
  height: 62px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.hero-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* body controls */
.content {
  padding: 22px 18px;
  margin-top: -12px;
  /* pull up onto header area visually */
}

.select-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* background: #f4f6f8; */
  border-radius: 30px;
  padding: 2px 18px;
  box-shadow: 0 6px 16px rgba(11, 33, 65, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 0px;
  cursor: pointer;
}

.select-pill .label {
  color: #333;
  font-size: 18px;
}

.chev {
  font-size: 18px;
  color: #222;
  opacity: .8;
}

.submit-btn {
  display: block;
  width: 140px;
  margin: 14px auto 0;
  border-radius: 24px;
  padding: 8px 18px;
  background: linear-gradient(180deg, #2f74c8, #255fae);
  color: #fff;
  border: 0;
  box-shadow: 0 6px 18px rgba(37, 95, 174, 0.18);
}

/* dropdown menu (custom) */
.custom-list {
  position: relative;
}

.options-card {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 10px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  box-shadow: 0 10px 30px rgba(10, 20, 40, 0.06);
  max-height: 260px;
  overflow: auto;
  z-index: 2000;
}

.options-card .opt {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(12, 12, 12, 0.04);
  font-size: 16px;
}

.options-card .opt:last-child {
  border-bottom: 0;
}

.options-card .opt:hover {
  background: #f5f7fb;
  cursor: pointer;
}

/* results list */
.results-head {
  margin: 12px 0 8px;
  color: #666;
  font-size: 13px;
}

.result-card {
  display: flex;
  flex-direction: row-reverse;
  gap: 12px;
  align-items: center;
  /* background: #fff; */
      background: linear-gradient(180deg, rgba(182, 217, 242, 0) 0%, rgba(182, 217, 242, 0.2) 100%);
  border-radius: 12px;
  padding: 14px;
  /* box-shadow: 0 12px 30px rgba(22, 44, 78, 0.06); */
  border: 1px solid rgba(10, 20, 40, 0.04);
  margin-bottom: 18px;
  width: 31%;
  float: left;
  margin: 1%;
}

@media only screen and (max-width: 480px) {
  .result-card {
    width: 100%;
  }

  .newcontent_card {
    max-width: 600px;
  }
}

.result-thumb {
  width: 92px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.result-meta {
  flex: 1;
}

.result-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1b2430;
}

.result-desc {
  font-size: 13px;
  color: #6b7780;
  line-height: 1.25;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pill-yellow {
  display: inline-block;
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  margin-right: 8px;
}

.result-icons {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #6b7780;
  font-size: 13px;
}

/* mobile friendly tweaks */
@media (max-width:420px) {
  /* .page {
    padding-left: 6px;
    padding-right: 6px
  } */

  .hero-yellow {
    font-size: 46px;
    height: 62px;
    top: 28px;
  }

  .hero-banner {
    height: 120px
  }

  .back-btn {
    font-size: 22px
  }
}

.newcontent_card {
  max-width: 100%;
}

#resultsList {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.loader {
  width: 100%;
  height: 100%;
  background: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9995 !important;
}

.loader svg {
  position: absolute;
  left: 46%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgb(255, 255, 255) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-gif {
  width: 80px;
  height: 80px;
}

#statePicker,
#cityPicker {
  cursor: pointer;
}

/* Optional: Change cursor when disabled */
#statePicker.disabled,
#cityPicker.disabled {
  background-color: #f4f6f8;
}


/* Popup Overlay */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }

        .popup-overlay.active {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        /* Popup Container */
        .error-popup {
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            width: 100%;
            padding: 30px;
            animation: slideUp 0.3s ease;
            position: relative;
        }

        /* Error Icon */
        .error-icon {
            width: 60px;
            height: 60px;
            background: #fee;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 20px;
        }

        .error-icon svg {
            width: 32px;
            height: 32px;
            stroke: #ef4444;
            stroke-width: 2;
            fill: none;
        }

        /* Content */
        .error-title {
            font-size: 20px;
            font-weight: 600;
            color: #1f2937;
            text-align: center;
            margin-bottom: 12px;
        }

        .error-message {
            font-size: 19px;
            color: #131619;
            font-weight: bold;
            text-align: center;
            line-height: 1.6;
            margin-bottom: 24px;
        }
.error-message2 {
            font-size: 19px;
            color: #131619;
            
            text-align: center;
            line-height: 1.6;
            margin-bottom: 24px;
        }

 @media (max-width: 480px) {
            .error-popup {
                padding: 24px;
            }

            .error-icon {
                width: 50px;
                height: 50px;
            }

            .error-icon svg {
                width: 28px;
                height: 28px;
            }

            .error-title {
                font-size: 18px;
            }

            .error-message {
                font-size: 16px;
            }
        }

 /* Close Button */
        .close-button {
            width: 100%;
            padding: 12px;
            background: #ef4444;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.3s;
        }

        .close-button:hover {
            background: #dc2626;
        }
