.newsletter-inputs {
	display: flex;
}

#newsletter-input,
.emabisz-newsletter__details-form input[type="text"] {
	box-sizing: border-box;
	min-width: 0;
	padding: 12px 16px;
}

#newsletter-input {
	width: 100%;
	border-radius: 0 !important;
	border-top-left-radius: 75px !important;
	border-bottom-left-radius: 75px !important;
	background-color: #f5f5f5 !important;
}

#newsletter-input:focus {
	border: 1px solid #f9851d;
}

.newsletter-inputs button,
.emabisz-newsletter__details-form button {
	padding: 12px 18px;
	border: 0;
	border-radius: 0 !important;
	background: #F47000;
	color: #fff;
	cursor: pointer;
}

.newsletter-inputs button {
	border-top-right-radius: 75px !important;
	border-bottom-right-radius: 75px !important;
}

.newsletter-inputs button:hover,
.emabisz-newsletter__details-form button:hover {
	background: #D95F00;
}

.emabisz-newsletter__toast {
	position: fixed;
	z-index: 100001;
	right: 24px;
	bottom: 24px;
	max-width: min(420px, calc(100vw - 32px));
	padding: 14px 18px;
	border-radius: 4px;
	background: #172b32;
	color: #fff;
	box-shadow: 0 8px 28px rgb(0 0 0 / 20%);
}

.emabisz-newsletter__toast[hidden] {
	display: none;
}

.emabisz-newsletter__toast.is-error {
	background: #9d2f25;
}

.emabisz-newsletter__toast.is-info {
	background: #172b32;
}

.emabisz-newsletter__backdrop {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgb(18 31 37 / 65%);
}

.emabisz-newsletter__backdrop[hidden] {
	display: none;
}

.emabisz-newsletter__dialog {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	box-sizing: border-box;
	width: min(100%, 820px);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	border-radius: 25px;
	background: #fff;
	color: #172b32;
	box-shadow: 0 18px 60px rgb(0 0 0 / 25%);
}

.emabisz-newsletter__image-panel {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 340px;
	overflow: hidden;
	background: #f5f5f5;
}

.emabisz-newsletter__image-panel img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#emabisz-newsletter-first-name{
	border-radius: 75px !important;
}

#emabisz-newsletter__details-form-button{
	border-radius: 75px !important;
}

.emabisz-newsletter__content {
	position: relative;
	align-self: center;
	padding: 48px 40px 40px;
}

.emabisz-newsletter__dialog h2 {
	margin: 0 32px 8px 0;
}

.emabisz-newsletter__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 26px;
	cursor: pointer;
	padding: 0px;
    line-height: 0px;
}

.emabisz-newsletter__details-form {
	display: grid;
	gap: 10px;
}

.emabisz-newsletter__details-form input[type="text"] {
	width: 100%;
}

@media (max-width: 767px) {
	.newsletter-inputs {
		flex-direction: column;
		gap: 5px;
	}

	#newsletter-input,
	.newsletter-inputs button {
		border-radius: 75px !important;
	}
}

@media (max-width: 767px) {
	.emabisz-newsletter__dialog {
		grid-template-columns: 1fr;
	}

	.emabisz-newsletter__image-panel {
		min-height: 150px;
	}

	.emabisz-newsletter__image-panel img {
		width: 100%;
		height: 100%;
	}

	.emabisz-newsletter__content {
		padding: 32px 24px 24px;
	}
}

@media (max-width: 520px) {
	.emabisz-newsletter__toast {
		right: 16px;
		bottom: 16px;
		left: 16px;
		max-width: none;
	}
}