.sub-heading {
  display: flex;
  justify-content: center;
}

#budget-guide-link {
  display: inline;
  text-decoration: underline;
  color: #0079ff;
  font-size: 12px;
  cursor: pointer;
}

#budget-min-req {
  display: inline;
  text-decoration: none;
  color: #0079ff;
  font-size: 10px;
  cursor: pointer;
  margin-left: 2px;
}

.audience-req {
  font-size: 9.6px;
  color: #1a629e;
  font-weight: 400;
  margin-left: 2px;
}

.design-type {
  background-color: #ffffff;
  border: 1px solid #9fccf1;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 5px;
  padding: 10px;
  font-weight: 400;
  color: #1a629e;
}

.form-check .form-check-input {
  margin: 0;
}

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

.design-options {
  display: flex;
  align-items: center;
  gap: 8px;
}

.designType-info {
  font-style: italic;
  color: #1d9097;
}

.budgeting-objective .table {
  box-shadow: 0px 4px 4px 0px #00000040;
  max-width: 85%;
  margin: auto;
}

.modal-title {
  color: #0f395c !important;
  font-weight: 700 !important;
  font-size: 30px !important;
}

.modal-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #1a629e;
  margin-bottom: 10px;
  text-align: center;
}

.modal-note {
  box-shadow: 0px 4px 4px 0px #00000040;
  background: #eef6fc;
  padding: 15px 15px;
  color: #1a629e;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  max-width: 85%;
  margin: auto;
}

.modal-upload {
  padding: 15px 0px;
  color: #1a629e;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  max-width: 85%;
  margin: auto;
}

.modal-body {
  padding-top: unset;
  padding-bottom: 45px;
}

.upload-container {
  border: 0.5px solid #1d9097;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 10px;
}

.upload-btn {
  background: linear-gradient(
    270deg,
    rgba(29, 144, 151, 0.8) 0%,
    rgba(161, 206, 208, 0.6) 100%
  );
  box-shadow: 0px 4px 4px 0px #00000040;
  color: #044c4e;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 18px;
}

.upload-btn:hover {
  background: linear-gradient(
    270deg,
    rgba(29, 144, 151, 1) 0%,
    rgba(161, 206, 208, 0.8) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0px 6px 10px 0px #00000040;
  cursor: pointer;
}

/* Table heading style */
.budgeting-objective .table-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  color: #067577;
  text-align: center;
}

.home-container {
  max-width: 95%;
  min-height: 60vh;
  margin: auto;
  margin: 50px auto 0;
}

.sub-heading {
  display: flex;
  justify-content: center;
}

.home-container h1 {
  font-size: 30px;
  font-weight: 700;
  color: #067577;
}

.back-btn {
  margin-top: 2rem;
  text-align: left;
}

.back-btn a {
  text-decoration: none;
  color: #004d66;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
}

.back-btn a::before {
  content: "<";
  font-size: 20px;
  margin-right: 8px;
}

.hidden {
  display: none;
}

.selection-container {
  padding: 10px;
  gap: 0;
  border-radius: 10px;
  background: white;
  display: flex;
  flex-direction: column;
  text-align: center;
  max-width: 100%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  margin: auto 0;
}

.address-form-container {
  background-color: #f0f8ff;
  padding: 20px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 10px;
  margin: 10px 0 5px 0;
}

.address-fields {
  display: flex;
  align-items: center;
  max-width: 1200px;
  gap: 10px;
  justify-content: center;
}

.address-input {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  color: #1a629e;
  outline: none;
  width: 800px;
  flex: none;
  min-width: 0;
  box-shadow: 0px 4px 4px 0px #0000001a inset;
}

.or-divider {
  color: #0077b6;
  font-weight: bold;
  font-size: 20px;
  padding: 0 10px;
}

.validation-section {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.valid-postcode {
  font-weight: 700;
  font-size: 18px;
  color: #067577;
}

.map-layers h2 {
  font-size: 15px;
  font-weight: 400;
  line-height: 15.62px;
  letter-spacing: -0.03em;
  text-align: center;
  color: #1a629e;
}

.timing-req {
  color: #1a629e;
  font-weight: 400;
  font-size: 10px;
}

.demographic-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scrollbar-width: thin;
  background: #f6fbff;
  height: calc(100vh - 130px);
  overflow-y: auto;
  border-radius: 5px;
  scrollbar-color: #007bff transparent;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.carrier-route-heading {
  color: #067577;
}

#carrier_id {
  color: red;
}

.table th,
.table td {
  font-size: 14px;
  font-weight: 700;
  line-height: 23.44px;
  text-align: left;
  color: #067577;
}

.table td {
  font-weight: 400;
  letter-spacing: -0.03em;
}

.map-layers {
  height: calc(100vh - 130px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1a629e transparent;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px #00000040;
  background: #f6fbff;
}

.select-section {
  text-align: left;
  margin-top: 1rem;
}

.select-header {
  font-weight: 600;
  font-size: 16px;
  color: #0f395c;
  margin-left: 2px;
}

.form-select,
.form-control {
  box-shadow: 0px 4px 4px 0px #00000040;
  color: #0f395c;
}

.targeting-container {
  margin-top: 15px;
  padding: 0 10px;
}

.targeting-header {
  display: flex;
  margin-bottom: 10px;
  padding: 0 5px;
  font-size: 14px;
  font-weight: 600;
}

.header-left,
.header-right {
  flex: 1;
  font-weight: bold;
  color: #094785;
}

.header-left {
  text-align: left;
}

.header-right {
  text-align: right;
}

.header-arrow {
  margin: 0 10px;
  color: #094785;
  font-weight: bold;
}

.form-check {
  margin-bottom: 10px;
  font-size: 12px;
  padding-left: 0;
  font-weight: 400;
}

.objective-label {
  display: flex;
  width: 100%;
  background-color: #b8e0ff;
  border-radius: 10px;
  padding: 8px 15px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.objective-label:hover {
  background-color: #a0d2eb;
}

.form-heading {
  color: #044c4e;
  font-size: 20px;
  font-weight: 700;
}

#map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.form-check-input:checked ~ .objective-label {
  background-color: #7cc3ff;
}

.objective-item {
  flex: 1;
  color: #094785;
  text-align: left;
}

.objective-arrow {
  margin: 0 15px;
  color: #094785;
}

.outcome-item {
  flex: 1;
  color: #094785;
  text-align: right;
}

.note {
  padding: 12px 15px;
  background: #ffffff;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 10px;
}

.note-display {
  color: #1a629e;
  font-weight: 600;
  font-size: 15px;
}

.form-check-input {
  margin-top: 12px;
  position: relative;
  float: none;
}

.map-section {
  height: calc(100vh - 130px);
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px #00000040;
  position: relative;
  display: flex;
  flex-direction: column;
}

.user-selections-section {
  box-shadow: 0px 4px 4px 0px #00000040;
  padding: 10px;
  border-radius: 5px;
  background: #eef6fc;
}

.table th {
  font-size: 14px;
  font-weight: 700;
  line-height: 23.44px;
  text-align: left;
  color: #067577;
}

.table td {
  font-size: 13.76px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.03em;
  text-align: left;
  color: #067577;
}

.price-breakup {
  cursor: pointer;
  text-align: right;
  font-style: italic;
  text-decoration: underline;
  color: #1a629e;
}

.table.price-table th {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.03em;
}

.user-heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 23.44px;
  text-align: center;
  color: #1a629e;
}

#ott-validate-btn,
#ad-btn,
#upload-confirm-btn {
  padding: 10px;
  border-radius: 10px;
  color: white;
  width: 180px;
  font-size: 20px;
  font-weight: 700;
  line-height: 26.04px;
  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;
}

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

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

.home-container .modal-content {
  border: 1px solid #1d9097;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.home-container .modal-header {
  border-bottom: unset;
}

.modal-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #1a629e;
  margin-top: 4px;
  margin-bottom: 15px;
  margin-left: auto;
}

.modal-title-container {
  display: block;
  margin-left: auto;
  text-align: center;
}

.ai-message-box {
  background-color: #eef6fc;
  border: 1px solid #badce3;
  color: #0f395c;
}
.upload-label {
  font-size: 12px;
  font-weight: 700;
  color: #1a629e;
  margin-bottom: 2px;
  display: block;
}

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

.overlay-text {
  color: white;
}

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