.auth-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.auth-popup.is-open {
	opacity: 1;
	visibility: visible;
}

.auth-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
}

.auth-popup__content {
	position: relative;
	width: 100%;
	max-width: min(700px, 90vw);
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
	padding: 50px 90px 40px;
	scrollbar-color: #000000 #FFFFFF;
	scrollbar-width: thin;
}

.auth-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	transition: color 0.2s;
}

.auth-popup__close:hover {
	color: #000;
}

.auth-popup__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 400;
	text-transform: uppercase;
}

.auth-popup__descr {
	margin: 0 0 20px;
	font-size: 14px;
	color: #666;
	line-height: 1.4;
}

.auth-popup__code-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
}

.auth-popup__field {
	margin-bottom: 16px;
}

.auth-popup__field input,
.auth-popup__form input[type="text"],
.auth-popup__form input[type="tel"],
.auth-popup__form input[type="email"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid transparent;
	text-align: center;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.auth-popup__field input:focus,
.auth-popup__form input[type="text"]:focus,
.auth-popup__form input[type="tel"]:focus,
.auth-popup__form input[type="email"]:focus {
	outline: none;
	border-color: #000;
}

.auth-popup__error {
	display: none;
	margin-bottom: 12px;
	padding: 10px 12px;
	background: #fff0f0;
	border: 1px solid #fcc;
	border-radius: 4px;
	font-size: 13px;
	color: #c00;
}

.auth-popup__error.is-visible {
	display: block;
}

.auth-popup__checkbox input {
	display: none;
}

.auth-popup__checkbox input:checked+label:before {
	border: 1px solid #000000;
	background-color: #000000;
}

.auth-popup__checkbox input:checked+label:after {
	opacity: 1;
}

.auth-popup__checkbox label {
	display: flex;
	font-size: 16px;
	padding-left: 35px;
	line-height: 16px;
	font-weight: 300;
	cursor: pointer;
	margin-top: 20px;
}

.auth-popup__checkbox label:before,
.auth-popup__checkbox label:after {
	content: "";
	display: block;
	position: absolute;
	top: 5px;
	margin-top: -6px;
	border-radius: 4px;
}

.auth-popup__checkbox label:before {
	left: 1px;
	height: 16px;
	width: 16px;
	box-sizing: border-box;
	border: 1px solid #BDBDBD;
	transition: all 0.6s ease 0s;
	-webkit-transition: all 0.6s ease 0s;
}

.auth-popup__checkbox label:after {
	left: 1px;
	height: 16px;
	width: 16px;
	content: "";
	font-family: "icomoon" !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 7px;
	line-height: 16px;
	text-align: center;
	color: #FFFFFF;
	z-index: 5;
}

.auth-popup .descr {
	font-size: 16px;
	font-weight: 300;
	margin-top: 20px;
}

.auth-popup .descr a {
	text-decoration: underline;
}

.auth-popup__submit {
	margin: 20px 0;
}

.auth-popup__submit .submit-btn {
	width: auto;
	margin: auto;
	padding: 14px 135px;
	height: 48px;
	border-radius: 4px;
	font-size: 100%;
}

.auth-popup__submit .submit-btn.white-btn {
	background: #fff;
	color: #000;
	border: 1px solid #000;
}

.auth-popup__submit .submit-btn.white-btn:hover {
	background: #f5f5f5;
}

.auth-popup__submit .submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.auth-popup__link-holder {
	margin: 16px 0 0;
	text-align: center;
	text-transform: uppercase;
	text-decoration: underline;
	font-size: 15px;
}

.auth-popup__link-holder a {
	color: #000;
	text-decoration: underline;
}

.auth-popup__link-holder a:hover {
	text-decoration: none;
}
.auth-popup__code-inputs {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 20px;
}

.auth-popup__resend {
	margin-top: 16px;
	text-align: center;
}

.auth-popup__resend .js-resend-code {
	padding: 10px 20px;
	font-size: 14px;
	cursor: pointer;
}

.auth-popup__resend.is-waiting .js-resend-code {
	pointer-events: none;
	opacity: 0.6;
}

.login-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.login-popup.active {
	opacity: 1;
	visibility: visible;
}

.login-popup .pop-content {
	position: relative;
	width: 100%;
	max-width: 600px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	padding: 40px 30px;
}

.login-popup .pop-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	transition: transform 0.2s, color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.login-popup .pop-close:hover {
	color: #000;
	transform: rotate(45deg);
}

.notify-me-content-wrapper h2,
.how-to-work-popup h2 {
	margin: 0 0 24px;
	font-size: 24px;
	font-weight: 600;
	text-transform: uppercase;
	color: #000;
}

.notify-me-content-wrapper .form-group-wrapper {
	margin-bottom: 20px;
}

.notify-me-content-wrapper .form-group {
	margin-bottom: 16px;
}

.notify-me-content-wrapper .form-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #000;
}

.notify-me-content-wrapper .form-group input[type="text"],
.notify-me-content-wrapper .form-group input[type="email"],
.notify-me-content-wrapper .form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	font-family: inherit;
	box-sizing: border-box;
	resize: vertical;
}

.notify-me-content-wrapper .form-group input[readonly] {
	background-color: #f5f5f5;
	cursor: not-allowed;
}

.notify-me-content-wrapper .form-group input:focus,
.notify-me-content-wrapper .form-group textarea:focus {
	outline: none;
	border-color: #000;
}

.notify-me-content-wrapper .form-group textarea {
	min-height: 100px;
}

.notify-me-content-wrapper .terms-and-conditions-wrapper {
	margin-top: 20px;
	margin-bottom: 20px;
}

.notify-me-content-wrapper .terms-and-conditions {
	font-size: 12px;
	line-height: 1.5;
	color: #666;
}

.notify-me-content-wrapper .terms-and-conditions a {
	color: #000;
	text-decoration: underline;
}

.notify-me-content-wrapper .terms-and-conditions a:hover {
	text-decoration: none;
}

.notify-me-content-wrapper .form-block {
	margin-top: 24px;
}

.notify-me-content-wrapper .submit-group {
	margin-top: 20px;
}

.notify-me-content-wrapper .submit-btn {
	width: 100%;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	border: none;
	border-radius: 4px;
	background: #000;
	color: #fff;
	transition: background 0.2s;
	text-transform: uppercase;
}

.notify-me-content-wrapper .submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.notify-me-content-wrapper .response-content {
	margin-top: 20px;
	padding: 12px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}

.notify-me-content-wrapper .response-content.success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #4caf50;
}

.notify-me-content-wrapper .response-content.error {
	background: #ffebee;
	color: #c62828;
	border: 1px solid #ef5350;
}

.how-to-work-popup .response-content {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

.how-to-work-popup .response-content br {
	display: block;
	margin-bottom: 12px;
}

.auth-popup__code-inputs input[type="text"] {
    height: 56px !important;
    width: 50px !important;
    border: 1px solid #BDBDBD;
    padding: 0;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
}

@media screen and (max-width: 960px) {
	.login-popup .pop-content {
		padding: 30px 20px;
		max-width: 100%;
	}

	.notify-me-content-wrapper h2,
	.how-to-work-popup h2 {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.auth-popup__content {
        padding: 60px 20px 20px;
	}

	.auth-popup__submit .submit-btn {
		width: 100%;
		padding: 14px 8px;
	}
}