/*dialog box*/
.model {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1050;
	padding: 0;
}

[dir="rtl"] #largeModal .otp-field {
	flex-direction: row-reverse;
}

[dir="rtl"] #largeModal .form-single-line-text.for-phone {
	direction: initial;
	position: relative;
	display: inline;
	right: 0%;
}

.modal-dialog {
	position: absolute;
	width: 650px;
	min-height: 500px;
	top: 50%;
	left: 50%;
	margin: 0;
	transform: translate(-50%, -50%);
	max-width: unset;
}

.modal-content {
	position: relative;
	display: flex;
	padding: 64px;
	flex-direction: column;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.3rem;
	outline: 0;
	text-align: center;
}

.model-header {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 0;
	align-items: start;
	/* border-bottom: 1px solid #e9ecef; */
}

	.model-header h3 {
		font-size: 24px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
		margin: 0;
	}

.model-body {
	position: relative;
	text-align: center;
	font-size: 1.6rem;
	color: #212529;
	padding: 0;
}

.Model-footer,
.model-footer {
	display: flex;
	width: 100%;
	justify-content: center;
	flex-direction: column;
	gap: 16px;
}

.generic-display-none {
	display: none;
}

.field-validation-valid {
	display: none;
}


/* consent-form inputs */

.consent-form {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	font-family: Arial, sans-serif;
	flex-direction: column;
}

	.consent-form .form-bold-single-line-text {
		font-size: 16px;
		color: #555;
		margin-bottom: 20px;
	}

	.consent-form .form-wrap {
		flex-direction: column;
	}

	.consent-form .form-inner {
		width: calc(100% - 20px);
		margin-bottom: 26px;
	}

	.consent-form .form-single-line-text {
		font-size: 15px;
		margin-bottom: 20px;
	}

	.consent-form .switch-list {
		border-top: 1px solid #C4C4C4;
		border-bottom: 1px solid #C4C4C4;
		padding: 24px 0;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px 50px;
	}

	.consent-form .list-element {
		margin-top: 15px;
	}

/* switch control */
.switch-item-container,
.form-outer-opt-container {
	display: flex;
	position: relative;
	align-items: flex-start;
	justify-content: space-between;
	/* gap: 10px; */
	/* margin-bottom: 0; */
}

	.form-outer-opt-container .toggleText {
		display: none;
	}

	.form-outer-opt-container.selected .toggleText {
		position: absolute;
		right: 64px;
		display: flex;
		width: 31px;
		height: 20px;
		top: 5px;
		justify-content: space-between;
	}

.rtl .form-outer-opt-container.selected .toggleText {
	right: unset;
	left: 64px;
}

.form-outer-opt-container .toggleText .toggle-text {
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	color: #8E8E93;
}

.form-outer-opt-container.selected .toggleText .icon::before {
	content: "";
	background-image: url('../images/green-check-on.svg');
	background-repeat: no-repeat;
	position: absolute;
	cursor: pointer;
	height: 100%;
	width: 100%;
}

.switch-item-container p {
	margin: 0;
}

.switch-item-container label {
	margin: 0;
	display: flex;
}

	.switch-item-container label span {
		justify-content: flex-end;
	}

.switch-item-container {
	margin-bottom: 15px;
}

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
}

	/* Hide the default checkbox */
	.switch input[type="checkbox"] {
		opacity: 0;
		width: 0;
		height: 0;
	}

/* The slider (the circle in the toggle) */
.consent-form .toggle {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 34px;
}

	/* The round circle in the slider */
	.consent-form .toggle:before {
		position: absolute;
		content: "";
		height: 20px;
		width: 20px;
		left: 2px;
		bottom: 2px;
		background-color: white;
		transition: 0.4s;
		border-radius: 50%;
	}

/* The checked state styles */
.toggle.selected {
	background-color: #51CA3D;
}

	.toggle.selected::before {
		transform: translateX(26px);
	}

/* Submit Button */
.consent-form-submit {
	background-color: #D32F2F;
	color: white;
	padding: 15px 30px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	width: 55%;
	text-align: center;
	margin: auto;
	display: block;
}

.consent-form .form-bold-single-line-text {
	font-weight: bold;
}

.consent-form-submit:hover,
.recheck-consent:hover {
	background-color: #b71c1c;
}

.consent-form-disclaimer-message {
	font-size: 12px;
	color: #777;
	margin-top: 20px;
}

.consent-form p.form-single-line-text {
	padding: 32px 0;
	margin: 0;
}


#largeModal .backbotton {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

	#largeModal .backbotton:before {
		content: "";
		background-image: url(../images/chevron.svg);
		background-repeat: no-repeat;
		position: relative;
		cursor: pointer;
		height: 100%;
		width: 100%;
	}

#largeModal .modal-content {
	border: none;
	border-radius: 12px;
}

#largeModal .modal-header {
	display: flex;
	align-items: center;
	padding: 20px;
	background-color: #f9f9f9;
	border-bottom: 1px solid #e9e9e9;
}

.model .error-consent-model {
	transform: none;
}

#largeModal .modal-header h3 {
	flex-grow: 1;
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	text-align: center;
}

#largeModal .modal-header .back-button {
	margin-right: auto;
	cursor: pointer;
	width: 24px;
	height: 24px;
	content: "<";
	background-size: contain;
}

#largeModal .model-header .model-mobile-title,
.error-consent-model .model-top-header,
.success-consent-model .model-top-header {
	display: none;
}

#largeModal .modal-body {
	padding: 20px;
}

#largeModal .form-single-line-text {
	font-size: 16px;
	padding: 0px;
	color: #333;
	line-height: normal;
	margin: 0;
}

p.form-single-line-text.for-phone {
	margin: 0;
}

#largeModal .otp-field {
	display: flex;
	justify-content: space-between;
}

#largeModal .otp-input-value {
	width: 80px;
	height: 73px;
	font-size: 24px;
	text-align: center;
	border: 2px solid #000;
	border-radius: 2px;
	padding: 16px 24px;
	line-height: 30px;
}

	#largeModal .otp-input-value:focus::placeholder {
		opacity: 0;
		color: transparent;
	}

	#largeModal .otp-input-value.input-validation-error {
		border-color: #EB0A1E;
		color: #EB0A1E;
	}

#largeModal .timer-section {
	margin: 0;
	/* text-align: center; */
}

#largeModal .timer-element {
	font-size: 16px;
	color: #333;
	margin: 0;
}

	#largeModal .timer-element b {
		font-weight: 700;
	}

#largeModal .validation-error {
	font-size: 16px;
	color: #EB0A1E;
}

#largeModal .modal-footer {
	display: flex;
	justify-content: center;
	gap: 15px;
	padding: 20px;
	border-top: 1px solid #e9e9e9;
}

#largeModal .btn-resend-button,
#largeModal .btn-verify-button {
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 14px;
	cursor: pointer;
}

.large-model .model-body {
	text-align: start;
	text-align: start;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

#largeModal .btn-resend-button,
#largeModal .btn-verify-button {
	border-radius: 2px;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.3s;
	width: 100%;
	height: 56px;
	padding: 16px 32px;
	margin: 0;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

#largeModal .btn-verify-button {
	color: #fff;
	border: none;
}

	#largeModal .btn-verify-button[disabled] {
		background-color: #C4C4C4;
		color: #fff;
		cursor: not-allowed;
	}

#largeModal .btn-resend-button[disabled] {
	color: #C4C4C4;
	background-color: #fff;
	border: 1px solid #C4C4C4;
	cursor: not-allowed;
}

.recheck-consent,
.link-ref-button,
#largeModal .btn-verify-button {
	height: 56px;
	padding: 16px 32px;
	width: 100%;
	border-radius: 2px;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin: 0;
	text-align: center;
	background-color: #EB0A1E;
	cursor: pointer;
	color: #fff !important;
	border: none;
}

	.link-ref-button:hover,
	.link-ref-button:active {
		background-color: #b71c1c;
		color: #fff !important;
		text-decoration: none;
	}


.href-link-button, .btn-resend-button {
	height: 56px;
	padding: 16px 32px;
	width: 100%;
	border-radius: 2px;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	white-space: nowrap;
	margin: 0;
	text-align: center;
	background-color: #fff;
	cursor: pointer;
	color: #000 !important;
	border-radius: 2px;
	border: 1px solid #000;
}

	.href-link-button:hover {
		opacity: 0.8;
	}

.consent-update-mobile-title h5 {
	display: none;
}

.error-consent-model .model-header p,
.success-consent-model .model-header p {
	font-weight: 600;
	font-size: 20px;
}

.success-consent-model .model-header {
	color: #212529;
}

.success-consent-model .model-dialog,
.error-consent-model .model-dialog {
	position: absolute;
	width: 650px;
	min-height: 250px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 4px;
	background: #FFF;
	padding: 64px;
}

.success-consent-model {
	display: none;
}

	.success-consent-model .show {
		display: block;
	}

.error-consent-model.show {
	display: block;
	transform: none;
}

.error-consent-model {
	display: none;
}

.success-consent-model .model-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.success-consent-model .model-body {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 0;
	align-items: center;
	color: #000;
}

	.success-consent-model .model-body p {
		margin: 0;
		font-size: 24px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

.success-consent-model .model-footer {
	display: flex;
	width: 100%;
	justify-content: center;
	flex-direction: column;
	gap: 16px;
}

.error-consent-model .Model-footer {
	flex-direction: row;
}

.success-consent-model .model-top-header {
	display: none;
}

.form-outer-opt-container p {
	margin: 0;
}



@media(max-width: 751px) {
	#largeModal .modal-dialog {
		left: unset;
		transform: none;
		width: 100vw;
		min-height: 450px;
		position: sticky;
		top: 100%;
		bottom: auto;
	}

	.form-outer-opt-container.selected .toggleText {
		position: absolute;
		right: 10px;
		top: 40px;
	}

	.rtl .form-outer-opt-container.selected .toggleText {
		right: unset;
		left: 10px;
	}

	.success-consent-model .model-dialog,
	.error-consent-model .model-dialog {
		left: unset;
		transform: none;
		width: 100vw;
		min-height: 300px;
		position: sticky;
		top: 100%;
		bottom: auto;
		padding: 0 16px 32px;
	}

	.error-consent-model .model-dialog {
		min-height: 320px;
	}

	#largeModal .modal-content {
		position: relative;
		height: auto;
		padding: 0;
		padding-bottom: 32px;
	}

	#largeModal .model-top-header {
		display: flex;
		flex-direction: row-reverse;
		width: 100vw;
		justify-content: center;
		padding: 16px;
		position: relative;
		left: 0;
		height: 73px;
		border-bottom: 1px solid #C4C4C4;
	}

	#largeModal .model-header h3 {
		font-size: 24px;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
		margin: 0;
		padding: 0 16px;
	}

	.form-outer-opt-container p {
		width: calc(100% - 56px);
	}

	#largeModal .model-body {
		gap: 16px;
		/* padding-top: 16px; */
		width: 100vw;
		padding: 0 16px;
	}

	#largeModal .otp-field {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
	}

	#largeModal .otp-input-value {
		width: 52px;
		height: 52px;
		padding: 8px;
	}

	#largeModal .timer-section {
		margin-top: 16px;
	}

	#largeModal .model-footer {
		margin-top: 16px;
	}

	#largeModal .backbotton {
		position: absolute;
		right: 16px;
		/* top: 16px; */
		transform: rotate(-90deg);
	}

	#largeModal .model-top-header .model-mobile-title {
		position: relative;
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
		display: flex;
		align-items: center;
	}

	.success-consent-model .model-top-header,
	.error-consent-model .model-top-header {
		display: flex;
		flex-direction: row-reverse;
		width: calc(100vw - 32px);
		justify-content: center;
		padding: 16px;
		position: relative;
		left: 0;
		height: 73px;
		border-bottom: 1px solid #C4C4C4;
	}

	.success-consent-model .backbutton,
	.error-consent-model .backbutton {
		width: 40px;
		height: 40px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		position: absolute;
		right: 16px;
		transform: rotate(-90deg);
	}

		.success-consent-model .backbutton:before,
		.error-consent-model .backbutton::before {
			content: "";
			background-image: url(../images/chevron.svg);
			background-repeat: no-repeat;
			position: relative;
			cursor: pointer;
			height: 100%;
			width: 100%;
		}

	.success-consent-model .model-mobile-title,
	.error-consent-model .model-mobile-title {
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
		display: flex;
		align-items: center;
		padding-top: 16px;
		position: absolute;
	}

	.error-consent-model .Model-footer {
		flex-direction: column;
	}
}

@media (max-width: 400px) {
	.form-single-line-text {
		width: 100% !important;
	}
}
