/* membership page styling */
.breadcrumb {
  padding: 2rem 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding: 0 5px;
  color: #0a4019;
}

/* hero section */
.membership-image {
  min-width: 100%;
  width: auto;
  max-width: unset;
}

.greybar {
  background: #f8f8f8;
  height: 70px;
  margin: -20px auto 5px;
  max-width: 75%;
  border-radius: 12px;
}

@media screen and (min-width: 1024px) {
  .membership-image {
    width: 100%;
  }
}

/* membership banner */
.membership-banner {
  position: relative;
  width: 85%;
  margin-top: -15rem;
  max-width: 862px;
}

.ggreen-underlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #0a4019;
  z-index: 0;
  padding: 30px 30px 0 0;
  box-sizing: border-box;
  margin-top: 25px;
  margin-left: 25px;
}

.banner-wrapper {
  background-color: white;
  max-width: 862px;
  max-height: 388px;
  z-index: 1;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin-top: 50px;
  position: relative;
  padding: 1rem;
}

.membership-title {
  font-weight: 400;
  text-align: left;
  font-size: 4rem;
  padding-right: 15%;
  padding-top: 2rem;
  align-self: flex-end;
}

.hero-icon {
  display: flex;
  align-items: end;
  align-self: flex-end;
  width: 48px;
}

@media screen and (min-width: 1024px) {
  .membership-banner {
    width: 50%;
  }
  .ggreen-underlay {
    margin-top: 40px;
    margin-left: 40px;
  }
}

@media screen and (min-width: 1440px) {
  .banner-wrapper {
    padding: 2rem 4rem;
  }
  .hero-icon {
    width: 76px;
  }
}

@media screen and (min-width: 1520px) {
  .membership-title {
    font-size: 96px;
  }
  .membership-banner {
    margin-top: -20rem;
  }
}

/*.info */
.info {
  background-color: white;
  max-width: 1300px;
  margin: auto;
  padding: 6rem 2rem;
  color: #393737;
}

.info-heading {
  max-width: 700px;
  font-size: 36px;
}

@media screen and (min-width: 1024px) {
  .info {
    padding: 6rem 3rem;
  }
  .info-heading {
    font-size: 40px;
  }
}

/* membership-types */
.membership-types {
  margin-bottom: 7rem;
  gap: 3rem;
}

.tab-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: fit-content;
}

.form-close-btn {
  background-color: #f1f3f5;
  color: black;
  border: 1px solid #d0c7c7;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  text-align: left;
  padding: 10px 25px;
  max-width: fit-content;
  margin-bottom: 3rem;
  float: right;
}

.form-close-btn:hover {
  background-color: #d0c7c7;
  color: black;
  border: 1px solid #d0c7c7;
}

.icon {
  height: 48px;
  width: 48px;
}

.collapsible {
  font-size: 12px;
  font-weight: 600;
  line-height: 30px;
  text-align: left;
  border-radius: 50px;
  border: none;
  min-width: 230px;
  background-color: white;
  transition: transform 0.3s ease;
  padding: 10px 20px;
}

.collapsible:hover {
  background-color: #0a4019;
  color: white;
  display: flex;
  justify-content: space-between;
}

.collapsible.active {
  background-color: #0a4019;
  color: white;
  display: flex;
  justify-content: space-between;
}

.collapsible.active::after {
  margin-left: 3px;
  content: ">";
}

@media screen and (min-width: 1520px) {
  .collapsible {
    font-size: 20px;
  }
}

.membership-types h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  text-align: left;
}

.membership-types p {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  color: #666666;
}

.tab-form {
  border-radius: 53px;
  border: 1px solid #bfbfbf;
  max-width: 719px;
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem;
}

.form-heading {
  color: #1f1f1f;
  text-align: center;
  font-size: 18px;
  line-height: 27px;
  font-weight: 200;
  margin-top: 2rem;
}
.form-heading::after {
  content: " *";
  color: red;
  font-weight: 700;
}
.input {
  border-radius: 8px;
  background-color: white;
  border: 1px solid #c5c5c5;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  min-width: 158px;
  border-radius: 30px;
  color: #3c3c3c;
  text-align: left;
  padding: 15px 20px;
  font-size: 16px;
  width: 100%;
}

.phone-input {
  background-color: white;
  border: none;
  min-width: 115px;
  min-height: 53px;
  border-radius: 30px;
  color: #3c3c3c;
  text-align: left;
  padding: 15px 0px;
  width: 100%;
}

.input-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-right: 0;
  margin-bottom: 1.5rem;
  width: 100% !important;
}

.input-label-name {
  margin-left: 25px;
}
.select {
  position: relative;
}
#countryNameSpan {
  margin-left: 0px;
}

.double-inputs {
  display: flex;
  flex-direction: column;
  /* width: 100%; */
}

@media (min-width: 768px) {
  .tab-form {
    gap: 18px;
    padding: 3rem;
  }
  .form-heading {
    text-align: left;
  }
  .input-label {
    margin-bottom: 0;
  }
  .double-inputs {
    flex-direction: row !important;
    gap: 1.5rem;
  }
}

.submit-button {
  background-color: #01130f;
  border: 1px solid #01130f;
  padding: 15px 35px;
  border-radius: 53px;
  margin-top: 2rem;
}

.submit-button:hover {
  border: 1px solid #197043;
  background-color: #197043;
}

.tab-content {
  width: 100%;
  margin: auto;
  display: none; /* Hide all tabs by default */
}

.tab-content.active {
  display: flex; /* Show the active tab */
  flex-direction: column;
  gap: 4rem;
  justify-content: space-between;
}

.tab-icon {
  width: 48px;
  margin-bottom: 2rem;
}

.tab-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 300px;
  max-width: 486px;
}

@media (min-width: 1440px) {
  .tab-content {
    margin: unset;
  }
  .tab-content.active {
    flex-direction: row;
    gap: 3rem;
  }
}
@media (min-width: 1440px) {
  .membership-types {
    padding: 5rem !important;
  }
}

/* Custom tray for showing the options */
.custom-tray {
  min-height: 55px;
  max-height: 300px;
  overflow-y: auto;
  position: absolute;
  z-index: 1000;
  border: 1px solid #ced4da;
  top: 0;
  left: 0;
  background-color: white;
  border: 1px solid #c5c5c5;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  min-width: 200px;
  border-radius: 32px;
  color: #3c3c3c;
  text-align: left;
  padding: 5px 0px 0px;
  font-size: 14px;
  width: 100%;
}

.custom-options {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-options li {
  border-radius: 30px;
  padding: 10px 15px;
  cursor: pointer;
}

.custom-options li:hover {
  background-color: #f1f1f1;
}

.hidden {
  display: none;
}

.show {
  display: block;
}

.green-checkbox {
  appearance: none; /* Remove default checkbox styling */
  width: 23px;
  height: 23px;
  border: 2px solid #3c3c3c;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  min-width: 23px;
}

.green-checkbox:checked {
  background-color: #0a4019;
}

.green-checkbox:checked::after {
  content: "✔"; /* Unicode character for the check mark */
  color: white;
  font-weight: bold;
  position: absolute;
  top: -2px;
  left: 2px;
}
