
.dst-newsletter-grid-top {
	display: flex;
	gap: 1rem;
}

.dst-newsletter-grid-top > div {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	flex: 1 1 0;
}

.dst-newsletter-grid-bottom {
	font-size: 12px;
	grid-column: 1/3;
	  line-height: 1.6;
	    margin-bottom: 0.5rem;
}
.dst-newsletter-grid-bottom a {
	font-weight: bold;
	text-decoration: underline !important;
}

.dst-newsletter-grid-top input {
	height: 50px;
}

.dst-newsletter-grid-btn button {
	background: #000;
	border: 0;
	color: #fff;
	  padding: 10px 20px;
  font-size: 16px;
	font-weight: 500;
	height: 50px;
	transition: all .2s linear;
}

.dst-newsletter-grid-top label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	min-height: 35px;
	display: flex;
	align-items: flex-end;
	padding-bottom: 7px;
}

#dst-newsletter-form {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto auto;
	max-width: 840px;
}

.dst-newsletter-grid-btn {
	grid-column: 2/3;
	grid-row: 1;
	padding-top: 35px;
	align-self: end;
}

.dst-newsletter-grid-top {
	grid-column: 1/2;
	grid-row: 1;
	display: flex;
	gap: 1rem;
	min-width: 0;
}

.dst-newsletter-grid-top input {
	font-size: 18px;
	font-weight: 500;
	min-width: 0;
  box-shadow: 0 2px 6px 0 rgba(137,110,137,0.10);
  background: rgba(255,255,255,0.5) !important;
  backdrop-filter: blur(5px);
  border: 0 !important;
  border-radius: 100px;
  color: #000 !important;
  padding: 10px 20px !important;
}

.dst-newsletter-grid-btn button {
	background: #333;
	white-space: nowrap;
}

.dst-newsletter-grid-top input:focus {
	border-color: #693637;
}

#dst-newsletter-response {
	background: #eee;
	width: fit-content;
	margin-top: 1rem;
	padding: 0px 20px;
	font-size: 12px;
	font-weight: bold;
}

.dst-newsletter-grid-btn button {
  border-radius: 100px;
  background: #4b004d;
}


.dst-newsletter-grid-btn button:hover {
  background: #A739AA;
}

/* Custom Checkbox Styling */
.dst-consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.dst-consent-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.dst-checkbox-custom {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid #4b004d;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.dst-consent-checkbox:hover .dst-checkbox-custom {
  background-color: rgba(75, 0, 77, 0.1);
  border-color: #A739AA;
}

.dst-consent-checkbox input[type="checkbox"]:checked ~ .dst-checkbox-custom {
  background-color: #4b004d;
  border-color: #4b004d;
}

.dst-consent-checkbox input[type="checkbox"]:checked ~ .dst-checkbox-custom:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dst-consent-text {
  flex: 1;
  line-height: 1.6;
}

.dst-consent-checkbox:hover .dst-consent-text {
  color: #4b004d;
}



@media (max-width: 768px) {

	#dst-newsletter-form {
	  gap: 0.5rem;
	  grid-template: auto / 1fr;
	}

	.dst-newsletter-grid-top {
	  gap: 0.5rem;
	  flex-direction: column;
	}

	.dst-newsletter-grid-btn {
	  grid-column: 1/2;
	  grid-row: 3;
	  padding-top: 0;
	}

	.dst-newsletter-grid-top label {
	  min-height: none;
	}

	.dst-newsletter-grid-btn button {
	  padding: 10px 20px;
	  font-size: 16px;
	  height: auto;
	}

}
