.visa-locator-load-more.is-hidden {
  display: none;
}

.visa-locator-load-more {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

/* Reuse the same responsive patterns as the Visa locator if you want */
@media (min-width: 768px) {
  .visa-locator-row2 button[type="submit"] {
    flex: 0 0 auto;
    background-color: #1434CB!important;
    color: #fff;
    font-weight: bold;
    padding: 0 18px;
    border: none;
  }
}
@media (min-width: 768px) {
  .visa-locator-row2 {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
  }
  .visa-locator-row2 select {
    flex: 1 1 0;
  }
  .visa-locator-row2 button[type="submit"] {
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .visa-locator-row2 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .visa-locator-row2 button[type="submit"] {
    width: 100%;
  }
}

.visa-locator-inputs input {
  flex: 1 1 150px;
  height: 44px !important;
  padding: 12px!important;
  border: 1px solid #d0d3da;
}
/* Consistent input styling (helps Safari iOS) */
.visa-locator-form select,
.visa-locator-form input[type="text"] {
  height: 48px !important;
  border-radius: 0px;
  font-size: 16px;
    border: 1px solid #d0d3da;
}

.visa-locator-wrap {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 8px;
  background: #f7f7f9;
}

.visa-locator-title {
  margin: 0 0 1rem;
  font-size: 1.8rem;
}

.visa-locator-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.visa-locator-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.visa-locator-inputs input,
.visa-locator-inputs select,
.visa-locator-inputs button {
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.visa-locator-inputs input {
  flex: 1 1 150px;
  border: 1px solid #d0d3da;
}

.visa-locator-inputs select {
  flex: 0 0 120px;
  border: 1px solid #d0d3da;
}

.visa-locator-inputs button {
  flex: 0 0 auto;
  background: #1434CB;
  color: #fff;
  border: none;
  cursor: pointer;
}

.visa-locator-inputs button:hover {
  opacity: 0.9;
}

.visa-locator-status {
  margin: 0.5rem 0 0.5rem;
  font-size: 0.85rem;
  color: #555;
}

.visa-locator-results {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
}

.visa-locator-result {
  padding: 0.65rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
}

.visa-name {
  font-weight: 600;
}

.visa-addr,
.visa-phone,
.visa-distance,
.visa-map {
  margin-top: 0.1rem;
}

.visa-map a {
  color: #1434CB;
  text-decoration: underline;
  font-size: 0.85rem;
}
#visa-state- { min-width: 180px; }
#visa-county- { min-width: 220px; }

.visa-locator-btn-red  {
  height: 44px;
  padding: 0 18px!important;
  border-radius: 0px;
  border: none;
  background: #1434CB;  
  color: #ffffff;              
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;  
  white-space: nowrap;
}

/* Clear button appearance */
.visa-locator-wrap .visa-locator-clear {
  height: 44px;
  padding: 0 18px;
  border-radius: 0px;
  border: 1px solid #888;      /* Dark grey outline */
  background: #fff;            /* White background */
  color: #333;                 /* Dark grey text */
  font-weight: 600;
  cursor: pointer;
  margin-left: 10px;           /* Small spacing from "Find Stores" */
  white-space: nowrap;
}

/* Hover effect */
.visa-locator-wrap .visa-locator-clear:hover {
  background: #f4f4f4;
  border-color: #555;
}

/* Hide Clear button until a search has been run */
.visa-locator-wrap .visa-locator-clear.is-hidden {
  display: none;
}

/* Clear button visual style (secondary action) */
.visa-locator-wrap .visa-locator-clear {
  height: 44px;
  padding: 0 18px;
  border-radius: 0px;
  border: 1px solid #888;
  background: #fff;
  color: #333;
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;
  white-space: nowrap;
}

.visa-locator-wrap .visa-locator-clear:hover {
  background: #f4f4f4;
  border-color: #555;
}

/* Match height if your submit button uses custom variables */
.visa-locator-wrap button[type="submit"] {
  height: 44px;
}

/* Mobile layout fix */
@media (max-width: 600px) {
  .visa-locator-wrap .visa-locator-inputs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .visa-locator-wrap button[type="submit"],
  .visa-locator-wrap .visa-locator-clear,
  .visa-locator-wrap input,
  .visa-locator-wrap select {
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 600px) {
  /* Second row of inputs: State + County */
  .visa-locator-wrap .visa-locator-inputs:nth-of-type(2) {
    display: flex;
    gap: 10px;
  }

  #visa-state-,
  #visa-county- {
    flex: 1 1 0;
    min-width: 0;
    height:44px!important;
    padding: 12px;
  border-radius: 0px;
  }
}
/* FORCE dropdown height on iPhones / mobile */
/* iOS/mobile: force a nice tall height for dropdowns only */
@supports (-webkit-touch-callout: none) {
  .visa-locator-wrap select {
    -webkit-appearance: none !important;
    appearance: none !important;

    height: 48px !important;
    min-height: 48px !important;
    line-height: 48px !important;
    padding: 0 16px !important;

    border-radius: 0px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 16px;
    box-sizing: border-box;
  }
}

/* Base styling for all selects in the locator */
.visa-locator-wrap select {
  width: 100%;
  height: 44px!important;              /* Good tap target size */
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 16px;           /* Prevents iOS zoom-on-tap */
  line-height: 1.2;
  color: #333;
  box-sizing: border-box;
}

/* Make sure State + County match each other */
#visa-state-,
#visa-county- {
  display: block;
}

.hs_cos_wrapper.hs_cos_wrapper_widget_container.hs_cos_wrapper_type_widget_container form select, .hs_cos_wrapper.hs_cos_wrapper_widget_container.hs_cos_wrapper_type_widget_container form textarea {
  border: 1px solid #d6dae1;
  height: 44px; 
  font-size: 16px;
  font-weight: 400;
  padding: 12px 12px;
  border-radius: 0px;
   height:44px!important;
}
.hs_cos_wrapper.hs_cos_wrapper_widget_container.hs_cos_wrapper_type_widget_container form input, .hs_cos_wrapper.hs_cos_wrapper_widget_container.hs_cos_wrapper_type_widget_container form select, .hs_cos_wrapper.hs_cos_wrapper_widget_container.hs_cos_wrapper_type_widget_container form textarea {
  border: 1px solid #d6dae1;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 12px;
  height:44px!important;
}
#visa-state-, #visa-county- {
  display: block;
  height: 44px !important;
  padding: 12px;
  border-radius: 0px;
}
/* Wrap selects in a class so only locator styles change */
.cvs-locator-wrap select {
    /* Remove browser default arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #fff;
    border: 1px solid #ccc;
    padding-right: 2.2rem; /* space for arrow */
    height: 44px;
    border-radius: 4px;
    font-size: 16px;

    background-image: url("data:image/svg+xml;utf8,<svg fill='%230067b8' height='16' viewBox='0 0 20 20' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7l4.5 4.5L14.5 7'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

/* Ensure the wrapper stays aligned */
.cvs-locator-wrap select:focus {
    outline: none;
    border-color: #0073e6;
}
.cvs-locator-wrap select {
    -webkit-appearance: none !important; 
    appearance: none !important;
}

