/* Public Styles */
.wd-provider-search-form {
  margin: 20px 0;
}

.search-input-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.wd-provider-search-form input[type="text"] {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.wd-provider-search-form input[type="text"]:focus {
  outline: none;
  border-color: #0073aa;
}

.search-button {
  padding: 12px 20px;
  background: #0e5f0c;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background: #1a8917;
}

.suggestions-container {
  position: relative;
}

.wd-provider-autocomplete {
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
}

.wd-provider-autocomplete li {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.wd-provider-autocomplete li:hover {
  background: #f5f5f5;
}

.wd-provider-autocomplete li:last-child {
  border-bottom: none;
}

.wd-provider-recent-list {
  display: grid;
  gap: 15px;
}

.provider-item {
  padding: 2px 15px;
  background: #f8f9fa;
  border-radius: 5px;
  border-left: 4px solid #0e5f0c;
}

.provider-item h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
}

.provider-item h3 a {
  text-decoration: none;
  color: #403939;
}

.provider-item h3 a:hover {
}

.city-page,
.provider-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-2 {
  background: #f8f9fa;
  padding: 1.8rem 2.4rem;
  border-radius: 1.2rem;
  margin: 1.6rem 0 0 0;
}

.wp-block-details {
  border: 1px solid #eee;
  border-radius: 15px;
  margin-bottom: 8px;
  background: #f6f6f6;
}

.wp-block-details summary {
  font-size: 17px;
  padding: 10px 20px;
  cursor: pointer;
}

.wp-block-details summary strong {
  font-weight: 400;
}

.wp-block-details p {
  margin-bottom: 1em;
  padding: 0 20px 0px;
}

.services-info {
  margin-bottom: 13px;
  padding: 1.8rem 2.4rem 0.4rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.area_of_service ul,
.services-info ul {
  list-style: none;
  margin: 0 0 1.5em 0em;
}

.area_of_service ul li {
  display: inline-block;
  padding: 0 5px 2px;
}

.provider-emergency {
  font-size: 20px;
  text-align: center;
  padding: 10px;
  background: #f2f2f2;
  border-radius: 10px;
}

.area_of_service a {
  color: #043401;
  font-weight: 600;
}

.city-faq {
  border-top: 2px solid #cfcece;
  padding-top: 10px;
  margin-top: 10px;
}

.contact_information ul {
  list-style: none;
  margin: 0 0 1.5em 0.5em;
}

.contact_information ul li {
  margin-bottom: 4px;
}

.city-providers-table .wp-block-columns {
  border-style: solid;
  border-width: 3px 0px 0px 0px;
  border-color: #15aa52;
  box-shadow: 0px 5px 25px -10px rgba(0, 0, 0, 0.5);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  margin: 0px 0px 14px 0px;
  padding: 0px 0px 0px 0px;
  align-items: center !important;
}

.city-providers-table .wp-block-column {
  padding: 20px;
}

.city-providers-table p {
  margin-bottom: 0.5em;
}

.provider-name {
  font-size: 22px;
}

.fea_tick {
  color: #15aa52;
}

a.provider-link {
  width: 100%;
  float: left;
  text-align: center;
  border-radius: 10px;
  background: #0E5F0C;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

a.provider-link:hover {
  background: #1a8917;
  text-decoration: none;
}

.wd-provider-error {
  background: #ffebee;
  color: #c62828;
  padding: 10px 15px;
  border-radius: 5px;
  border-left: 4px solid #c62828;
  margin-bottom: 15px;
}

/* Responsive Design */
@media screen and (max-width: 719px) {
  .city-page,
  .provider-page {
    padding: 0px;
  }

  .services-info,
  .section-2 {
    padding: 1.8rem;
  }

  .search-input-wrapper {
    flex-direction: column;
  }

  .search-button {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Print Styles */
@media print {
  .wd-provider-search-form,
  .search-button,
  .suggestions-container {
    display: none;
  }
}
