/* Styles omitted for brevity */
.asp-main-form-contaienr {
  font-family: Arial, sans-serif;
  /*             background-color: #f4f4f9; */
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /*             height: 100vh; */
}

.asp-form-container {
  width: 75%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /*             overflow: hidden; */
  height: auto !important;
}

.asp-tabs {
  display: flex;
  padding: 10px;
  transition: all 0.3s ease;
}

.asp-tab {
  flex: 1;
  text-align: center;
  padding: 15px 5px;
  cursor: pointer;
  font-weight: bold;
  color: lightgrey;
  font-size: 15px;
  border-bottom: 2px solid lightgray;
}

.asp-tab.active {
  border-bottom: 3px solid #825ec0;
  color: #825ec0;
}

.asp-tab:hover {
  border-bottom: 3px solid #825ec0;
  color: #825ec0;
  transition: 0.5s;
}

.asp-form-content {
  /* padding: 20px;
  padding-bottom: 0; */
  display: none;
  height: fit-content;
}

.asp-form-content-wrap {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
}

.asp-form-content-inner {
  min-height: 180px;
}

.asp-form-content.active {
  display: block;
}

.asp-form-content input,
.asp-form-content select {
  width: 96%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  height: 20px !important;
  border-radius: 6px !important;
}

.asp-form-content .asp-input-row {
  display: flex;
  gap: 10px;
}

.asp-form-content .asp-input-row input {
  flex: 1;
}

#asp_search_button {
  background: #825ec0;
  color: white;
  padding: 10px;
  width: 100%;
  border: 2px solid #825ec0;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  font-weight: bold;
}

#asp_search_button span {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: white;
  mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23ffffff" viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27a6.471 6.471 0 0 0 1.48-5.34C15.37 6.47 13.11 4 10 4a6 6 0 0 0-6 6c0 3.11 2.47 5.37 5.39 5.89a6.471 6.471 0 0 0 5.34-1.48l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-5.5 0c-2.48 0-4.5-2.02-4.5-4.5S7.52 5 10 5s4.5 2.02 4.5 4.5S12.48 14 10 14z"></path></svg>') no-repeat;
  mask-size: contain;
}

#asp_search_button:hover {
  background: white;
	color: black;
}

/* Responsive Styles */
@media (max-width: 800px) and (min-width: 601px) {
  .asp-tabs {
    flex-wrap: wrap;
    /* Allow tabs to wrap to the next row */
  }

  .asp-tab {
    flex: 1 1 calc(31% - 10px);
    /* Show 3 tabs per row */
    margin: 5px;
    /* Add some spacing between tabs */
  }
}

@media (max-width: 600px) {
  .asp-tabs {
    flex-wrap: wrap;
    /* Allow tabs to wrap to the next row */
  }

  .asp-tab {
    flex: 1 1 calc(46% - 10px);
    /* Show 2 tabs per row */
    margin: 5px;
    /* Add some spacing between tabs */
  }

  .asp-form-content {
    height: 320px !important;
  }
}

/* input state list code */
.asp-dropdown-container {
  position: relative;
}

.asp-dropdown-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #00a896;
  border-radius: 5px;
  font-size: 16px;
}

.asp-dropdown-list {
  position: absolute;
  width: 100%;
  max-height: 200px !important;
  overflow-y: auto;
  border: 1px solid #00a896;
  border-radius: 5px;
  background: #fff;
  display: none;
  z-index: 1000;
}

.asp-dropdown-item {
  padding: 10px;
  cursor: pointer;
}

.asp-dropdown-item:hover {
  background: #FF6600;
  color: white;
}

.asp-main-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: auto;
  padding-top: 48px;
  padding-bottom: 48px;
}

.asp-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1200px;
}

.asp_pagination {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.asp-card {
  background-color: #fffbea;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.asp-icon-section {
  flex: 0 0 50px;
}

.asp-icon {
  font-size: 30px;
  color: #d1c4e9;
  /* Adjust icon color */
}

.asp-family-icon {
  background: url('path/to/family-icon.svg') no-repeat center center;
  width: 40px;
  height: 40px;
}

.asp-photo-icon {
  background: url('path/to/photo-icon.svg') no-repeat center center;
  width: 40px;
  height: 40px;
}

.asp-text-section {
  flex-grow: 1;
  margin-left: 15px;
}

.asp-results {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.asp-title {
  font-size: 18px;
  margin: 5px 0;
  font-weight: bold;
  color: #333;
}

.asp-description {
  font-size: 12px;
  color: #666;
}

.asp-button-section {
  flex: 0 0 auto;
}

.asp-results-button {
  background-color: #ff5722;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.asp-results-button:hover {
  background-color: #e64a19;
}

.asp-icons {
  width: 50px;
  padding: 14px;
  border-radius: 100% !important;
}

.asp-icons-clr1 {
  background-color: plum;
}

.asp-icons-clr2 {
  background-color: lightblue;
}

.asp-icons-clr3 {
  background-color: #FFD580;
}

.asp-search-person-image {
  width: 50px;
  height: 50px;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 10px;
  border-radius: 50%;
}

@media (max-width: 1400px) {
  .asp-card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .asp-card-container {
    grid-template-columns: repeat(1, 1fr);
  }
}


.asp_pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
}

.asp_pagination .prev.page-numbers,
.asp_pagination .next.page-numbers {
  background-color: #ff5722;
  border-color: #ff5722;
  fill: #fff;
  transition: all 0.3s ease-in-out;
}

.asp_pagination .prev.page-numbers:hover,
.asp_pagination .next.page-numbers:hover {
  background-color: #e64a19;
}

.asp_pagination .prev.page-numbers>svg,
.asp_pagination .next.page-numbers>svg {
  width: 16px;
  height: 16px;
  object-fit: contain;
  line-height: 0;
}

.asp_pagination .page-numbers {
  border: 1px solid #333333;
  display: flex;
  width: fit-content;
  height: fit-content;
  padding: 1px 8px;
  color: #333333;
  border-radius: 4px;
  line-height: 0;
  min-height: 28px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.asp_pagination .page-numbers.current,
.asp_pagination .page-numbers:hover {
  border-color: #ff5722;
  color: #ff5722;
}

.asp_pagination .page-numbers.dots {
  border-color: #333333;
  color: #333333;
}

.asp_result_single,
.asp_results_list {
  display: none;
}

.asp_result_single.active,
.asp_results_list.active {
  display: block;
}




/* Single Person Details style start */

/* Main Content Styles */
.asp_person_details_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header Styles */
.asp-person-details-header {
  background: linear-gradient(to bottom, #4B2E83, #7A5CC5);
  padding: 20px;
}

.asp-details-profile-header {
  text-align: center;
  margin-bottom: 40px;
}

.asp-details-profile-header img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #FF6F61;
}

.asp-details-profile-header h1 {
  color: #4B2E83;
  font-size: 36px;
  font-weight: 700;
}

/* Section Styles */
.asp_pserson_details_section {
  background: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding: 20px;
  transition: all 0.3s ease;
}

.asp_pserson_details_section:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.asp_pserson_details_section h2 {
  color: #4B2E83;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.asp_pserson_details_section h2 i {
  margin-right: 10px;
  color: #FF6F61;
}

.asp_pserson_details_section dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
}

.asp_pserson_details_section dt {
  font-weight: 700;
  color: #4B2E83;
}

.asp_pserson_details_section dd {
  color: #666666;
  margin-bottom: 10px;
}

.asp_pserson_details_section dd a {
  color: #FF6F61;
  text-decoration: none;
}

.asp_pserson_details_section dd a:hover {
  text-decoration: underline;
}

.asp-details-hidden-info {
  color: #666666;
}

.asp-details-show-btn {
  background: #FF6F61;
  color: #FFFFFF;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.asp-details-show-btn:hover {
  background: #FF8A80;
}

/* Footer Styles */
.asp-person-details-footer .asp-details-cta-section {
  background: #4B2E83;
  color: #FFFFFF;
  padding: 40px 20px;
  text-align: center;
}

.asp-person-details-footer .asp-details-cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.asp-person-details-footer .asp-details-cta-section p {
  font-size: 18px;
  margin-bottom: 20px;
}

.asp-details-cta-btn {
  background: #FF6F61;
  color: #FFFFFF;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  margin: 0 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.asp-details-cta-btn:hover {
  background: #FF8A80;
  transform: scale(1.05);
}

.asp-details-cta-btn.asp-details-secondary {
  background: #7A5CC5;
}

.asp-details-cta-btn.asp-details-secondary:hover {
  background: #9B82D1;
}

/* Accessibility */
.asp-person-details-button:focus {
  outline: 2px solid #FF6F61;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  .asp_person_details_inner {
    padding: 20px 10px;
  }

  .asp-details-profile-header h1 {
    font-size: 28px;
  }

  .asp-details-profile-header img {
    width: 120px;
    height: 120px;
  }

  .asp_pserson_details_section {
    padding: 15px;
  }

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

  .asp_pserson_details_section dl {
    grid-template-columns: 1fr;
  }

  .asp-details-cta-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  footer .asp-details-cta-section h2 {
    font-size: 28px;
  }

  footer .asp-details-cta-section p {
    font-size: 16px;
  }
}

.asp_result_single_wrap .asp-icon-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.asp_result_single_wrap .asp-icon-section .asp-search-person-image {
  width: 250px;
  height: 250px;
}


/* Single Person Details style End */