:root {
  --description-text-color: #4b4b4b;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: rgb(255, 252, 250);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

h1, h2, h3 {
    color: #2c3e50;
}

.supported_header_container {
  width: 100%;
  background-color: rgb(255, 248, 240);
  position: relative;
  z-index: 1000;
}

.supported_header {
  padding-left: 7.5%;
  padding-right: 7.5%;
  justify-content: left;
  align-items: center;
  width: 85%;
  max-width: 1400px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 10px;
  position: relative;
}

.supported_logo {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.supported_logo_text_desc {
  font-size: 18px;
  font-weight: 700;
  line-height: 14px;
  color: var(--description-text-color);
}

.image-2 {
  width: 60px;
}

/* Header search styles */
.header_search_wrapper {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.company_search_container_header {
  width: 300px;
  max-width: 300px;
  margin-top: 0;
  box-shadow: none;
  display: flex;
  align-items: stretch;
  flex-flow: row;
  border-radius: 15px;
}

.company_search_input_container_header {
  flex-grow: 1;
  display: flex;
  align-items: center;
  background-color: #fff;
  padding-left: 10px;
  border-radius: 15px 0 0 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.company_search_icon_header {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.company_search_input_header {
  flex-grow: 1;
  padding: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  background-color: transparent;
}

.company_search_button_container_header {
  display: flex;
}

.company_search_button_header {
  padding: 8px 15px;
  border-radius: 0 20px 20px 0;
  border: none;
  background-color: #00cc1b;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  height: 100%;
  transition: background-color 0.2s;
}

.company_search_button_icon_header{
  height: 100%;
}

.company_search_button_header:hover {
  background-color: #00a315;
}

.company_search_button_container_header{
  height: 34px;
}

.header_search_wrapper {
  position: relative;
}

.search_results_container_header {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  max-width: 300px;
  margin-top: 5px;
  z-index: 9999;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  overflow: visible;
  /* Ensure the dropdown is not constrained by any parent overflow settings */
  isolation: isolate;
}

.company_search_results_header_header {
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
  background-color: #ebebeb;
  padding: 8px 10px;
  border-radius: 10px 10px 0 0;
  margin-bottom: 8px;
}

.company_search_results_list_header {
  margin: 8px;
  font-size: 16px;
  list-style-type: none;
  padding: 0;
}

.company_search_results_list_header a {
  text-decoration: none;
  color: #0066cc;
}

.company_search_results_list_header a:hover {
  color: #004499;
}

.request_company_description_header {
  padding: 0 10px 10px 10px;
  font-size: 14px;
}

.request_button_container_header {
  display: flex;
  padding: 0 10px 10px 10px;
  gap: 8px;
}

.request_company_input_header {
  border: 1px solid #ddd;
  flex-grow: 1;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 14px;
}

.request_submit_button_header {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  background-color: #ebebeb;
  cursor: pointer;
}

.thank_you_message_header {
  padding: 10px;
  color: #00a315;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .supported_logo_text_desc {
    display: none; /* Hide search in header on mobile */
  }
}

@media screen and (max-width: 479px) {
  .supported_header {
    width: 95%;
    padding-left: 2.5%;
    padding-right: 2.5%;
  }
  .company_search_container_header{
    width: 200px;
  }
  .company_search_input_header{
    width: 150px;
  }
}