.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.home-container h2 {
  font-size: 46px;
  font-weight: 700;
  color: #0f395c;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.description h3 {
  font-size: 36px;
  font-weight: 700;
  line-height: 49.48px;
  text-align: center;
  color: #044c4e;
}

.image-text-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-top: 5rem;
}

.text-container {
  border-radius: 8px;
  padding: 30px;
  text-align: left;
}

.text-container h3 {
  font-size: 38px;
  font-weight: 700;
  line-height: 49.48px;
  color: #067577;
}

.text-container ul {
  margin-top: 2rem;
  font-size: 20px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.01em;
}

.wave-container {
  height: 1200px;
}

#waveSection2 {
  background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(255, 255, 255, 1) 100%
    ),
    url("/static/images/about_us/wave-image.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  width: 100%;
  color: white;
  background-blend-mode: hard-light;
}

.form-description {
  font-size: 26px;
  font-weight: 700;
  color: #0f395c;
  position: relative;
  top: 255px;
  max-width: 77%;
  margin: auto;
}

.email-form {
  margin-top: 5rem;
  padding: 2rem;
}

.row {
  font-size: 20px;
  font-weight: 700;
  line-height: 26.04px;
  color: #0f395c;
}

.form-control {
  background: #eef6fc;
  border: 1px solid #152850;
}

.validate-btn,
.submit-button,
.apply_filtersBtn,
#upload-confirm-btn {
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 17px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
  background: linear-gradient(270deg, #1d9097 0%, rgba(9, 47, 49, 0.8) 100%);
  border-color: unset;
}

.submit-button {
  margin: 2rem auto 0rem;
  width: 25%;
}

.validate-btn:hover,
.submit-button:hover,
.apply_filtersBtn:hover,
#upload-confirm-btn:hover {
  background: linear-gradient(270deg, #1d9097 0%, rgba(9, 47, 49, 1) 100%);
  transform: scale(1.05);
}

.valid-postcode {
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  background: white;
  padding-bottom: 15px;
}

.accordion-flush {
  margin-top: 2rem;
}

.accordion-button {
  background: #eef6fc;
  border: 1px solid #152850;
  font-size: 20px;
  font-weight: 700;
  line-height: 26.04px;
  color: #0f395c;
  border-radius: 10px;
}

.accordion-button:not(.collapsed) {
  background-color: white;
}

.accordion-body {
  font-size: 18px;
  font-weight: 400;
  background: #dcecf9;
  border-top: none;
  border-left: 1px solid #152850;
  border-right: 1px solid #152850;
  border-bottom: 1px solid #152850;
}

.list-source-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.accordion-flush > .accordion-item > .accordion-header .accordion-button,
.accordion-flush
  > .accordion-item
  > .accordion-header
  .accordion-button.collapsed {
  border-radius: 10px;
}

.or-section {
  margin-left: 48px;
}

.accordion-body .form-group {
  display: flex;
  gap: 3rem;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px 10px 0 0;
  padding: 20px;
}

.section-filters {
  background: white;
  border-radius: 0 0 10px 10px;
  padding-bottom: 1rem;
}

.note-box {
  background-color: #eaf4fb;
  border: 1px solid #dcebf5;
  padding: 20px;
  border-radius: 6px;
  color: #3b5d7c;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 40px;
  margin-bottom: 30px;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.note-box strong {
  color: #1e3a56;
}

.uploaded-list-quantity,
.estimated-file-cost {
  color: #0f395c;
  font-size: 20px;
  font-weight: 700;
  position: relative;
  right: 40px;
}

#emailCostQuantity input:disabled,
#emailListQuantity input:disabled {
  border: none;
  background: unset;
  padding-left: unset;
  color: #1a629e;
  font-size: 18px;
  font-weight: 700;
}

#buildMeAListSection .form-group .input-container .input-group input {
  border-radius: 5px;
  background: white;
  color: #0f395c;
}

#create-emailList-filters .form-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.accordion-body .upload-file {
  margin: 35px 0px 0 0;
  color: #0f395c;
  font-size: 20px;
  font-weight: 700;
}

.form-check-input:checked {
  background-color: #044c4e;
  border-color: #044c4e;
}

.range-slider .tooltip {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 5px;
  display: none;
}

.range-slider:hover .tooltip {
  display: block;
}

.slider-label {
  width: 100%;
}

.slider-inputs {
  width: 85%;
  margin-left: 2rem;
}

.noUi-horizontal {
  height: 0px;
  border: 2px solid #1d9097;
}

.noUi-horizontal .noUi-tooltip {
  bottom: 350%;
}

.noUi-horizontal .noUi-handle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #044c4e;
  cursor: pointer;
  top: -10px;
  border: 8px solid #044c4e;
}

.noUi-horizontal .noUi-handle:before,
.noUi-horizontal .noUi-handle:after {
  display: none;
}

.noUi-connect {
  background: #4e92bf;
}

textarea {
  float: left;
  width: 277px;
  height: 88px;
}

.section-container {
  font-family: Arial, sans-serif;
  padding: 0px 20px;
  background: white;
}

.section-target-wrapper {
  display: flex;
  gap: 0.5rem;
  text-align: left;
}

.section-demographic,
.section-interests {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 0 20px 10px;
  position: relative;
  font-size: 14px;
}

.section-inner-content {
  opacity: 0.9;
  pointer-events: none;
  transition: all 0.3s ease;
}

.section-heading-active {
  background: #9fccf1 !important;
}

.section-active .section-inner-content {
  opacity: 1;
  pointer-events: auto;
}

.section-active {
  border: 1px solid #1a629e;
  box-shadow: 0px 4px 4px 0px #00000040;
  background: #dcecf9;
}

.toggle-container {
  position: absolute;
  top: 25px;
  left: 40px;
}

.section-toggle-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  background: linear-gradient(180deg, #1a629e 0%, rgba(26, 98, 158, 0.3) 100%);
  border-radius: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  top: 6px;
  z-index: 1;
}

.toggle-switch::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.2s ease-in-out;
}

.section-toggle-checkbox:checked + .toggle-switch {
  background-color: #2196f3;
}

.section-toggle-checkbox:checked + .toggle-switch::before {
  transform: translateX(24px);
}

.section-heading {
  color: #044c4e;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 18px;
  background: #dcecf9;
  padding: 15px 30px;
  width: 90%;
  border-radius: 10px;
  font-size: 16px !important;
  font-weight: 400;
}

.selection-input {
  font-size: 12px;
  font-weight: 400;
  color: #1a629e;
  font-style: normal;
}

.section-form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-form-label {
  font-weight: 600;
  color: #1a629e;
  font-size: 16px;
}

.section-range-container {
  margin: 20px 0;
  padding: 0 10px;
}

.section-checkbox-group {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.section-checkbox-inputs {
  display: flex;
  flex-direction: column;
  margin: 10px 20px 20px;
  gap: 0.5rem;
  color: #1a629e;
  font-size: 14px;
  font-weight: 400;
  border-radius: 5px;
  border: 1px solid #1d9097;
  padding: 5px 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-checkbox-group label:first-child {
  min-width: 120px;
  font-size: 16px;
  font-weight: 600;
  color: #1a629e;
}

.section-table td:not(:has(input)) {
  position: relative;
  bottom: 2px;
}

.section-table {
  width: 98%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.section-table td {
  padding: 4px;
  color: #1a629e;
}

.section-table tbody {
  padding: 10px 20px;
  display: flow;
  border-radius: 5px;
  border: 1px solid #1d9097;
}

.section-table .tbody-active {
  background: #f6fbff;
}

.section-checkbox-inputs-active {
  background: #f6fbff;
}

.section-table td:nth-child(3) {
  text-align: center;
  color: #666;
  width: 40px;
}

.section-slider {
  background: #e0e0e0;
}

.section-tooltip {
  display: block;
  margin-top: 5px;
  font-size: 0.9em;
  color: #666;
}

.file-ops {
  width: 25%;
  float: left;
}

/* This is the main container for all the fields */
.custom-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 0.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.custom-label {
  margin: 0;
  text-align: right;
}

.custom-input {
  margin: 0;
}

.custom-form-input-class {
  width: 20%;
  padding: 8px;
  border: unset;
  background: unset;
  color: #1a629e;
  font-size: 18px;
  font-weight: 700;
}

.filter-labels {
  color: #0f395c;
  font-size: 20px;
  font-weight: 700;
}

#email_fields {
  justify-content: center;
  gap: 3rem;
  color: #0f395c;
  font-size: 20px;
  font-weight: 700;
  margin-top: auto;
  border-radius: 0px 0px 10px 10px;
}

#create_design {
  gap: 2rem;
  color: #0f395c;
  font-weight: 700;
  font-size: 20px;
  border-radius: 10px;
}

.note {
  margin-top: 2rem;
  text-align: center;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}

.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: none;
}

.overlay-text {
  color: white;
}

.loader-icon {
  font-size: 2em;
  vertical-align: middle;
  margin-right: 0.5em;
}

@media screen and (min-width: 1440px) {
  .form-description {
    max-width: 65%;
  }

  .email-form {
    padding: 0rem;
  }
}
