/* Global "become a creator" popup form — shared across pages via
   catalog/view/theme/default/template/common/footer.twig, so any page can
   open it just by putting a [data-bon-influencer-cta] attribute on a
   trigger (button, link, etc). Cloned from bon_partner_form.css with its
   own class names so the two popups never collide. */

.bon-influencer-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	visibility: hidden;
	opacity: 0;
	transition: opacity .25s ease, visibility 0s linear .25s;
}

.bon-influencer-modal--open {
	visibility: visible;
	opacity: 1;
	transition: opacity .25s ease, visibility 0s linear 0s;
}

body.bon-influencer-modal-open {
	overflow: hidden;
}

.bon-influencer-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, .45);
}

.bon-influencer-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(680px, calc(100vw - 32px));
	max-height: calc(100vh - 64px);
	overflow-y: auto;
	margin: 32px auto;
	padding: 48px 40px 40px;
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 24px 64px rgba(17, 17, 17, .18);
	transform: translateY(24px) scale(0.96);
	transition: transform .25s ease;
	box-sizing: border-box;
}

.bon-influencer-modal--open .bon-influencer-modal__dialog {
	transform: translateY(0) scale(1);
}

.bon-influencer-modal__close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	background: transparent;
	color: #9a9a9a;
	cursor: pointer;
	line-height: 0;
}

.bon-influencer-modal__close svg {
	width: 16px;
	height: 16px;
}

.bon-influencer-modal__title {
	margin: 0 0 20px;
	font-family: 'Stratos LC Web', 'Open Sans', Arial, sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.15;
	color: #212121;
}

.bon-influencer-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-sizing: border-box;
}

.bon-influencer-form * {
	box-sizing: border-box;
}

.bon-influencer-form__row {
	display: flex;
	gap: 12px;
}

.bon-influencer-form__row .bon-influencer-form__field {
	flex: 1;
	min-width: 0;
}

/* Honeypot: only bots fill this in, so it must stay reachable by a script
   (no display:none/visibility:hidden — some bots skip those) while being
   invisible and unreachable for real visitors. */
.bon-influencer-form__honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.bon-influencer-form__message {
	padding: 12px 18px;
	border-radius: 14px;
	font-family: 'Stratos LC Web', 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.3;
}

.bon-influencer-form__message--success {
	background: rgba(165, 75, 217, .1);
	color: #A54BD9;
}

.bon-influencer-form__message--error {
	background: rgba(239, 68, 56, .1);
	color: #EF4438;
}

.bon-influencer-form__label {
	display: block;
	margin: 0 0 10px;
	font-family: 'Stratos LC Web', 'Open Sans', Arial, sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.2;
	color: #212121;
}

.bon-influencer-form__input,
.bon-influencer-form__select,
.bon-influencer-form__textarea {
	width: 100%;
	padding: 14px 22px;
	border: 1px solid #CDCDCD;
	border-radius: 999px;
	font-family: 'Stratos LC Web', 'Open Sans', Arial, sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.2;
	color: #212121;
	background: #ffffff;
}

.bon-influencer-form__input:focus,
.bon-influencer-form__select:focus,
.bon-influencer-form__textarea:focus {
	outline: none;
	border-color: #A54BD9;
}

.bon-influencer-form__input::placeholder,
.bon-influencer-form__textarea::placeholder {
	color: #CDCDCD;
}

.bon-influencer-form__textarea {
	border-radius: 20px;
	min-height: 88px;
	resize: vertical;
}

.bon-influencer-form__checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bon-influencer-form__checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid #CDCDCD;
	border-radius: 999px;
	font-family: 'Stratos LC Web', 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	color: #212121;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}

.bon-influencer-form__checkbox input {
	margin: 0;
	accent-color: #A54BD9;
}

.bon-influencer-form__checkbox:has(input:checked) {
	border-color: #A54BD9;
	background: rgba(165, 75, 217, .08);
}

.bon-influencer-form__submit {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 16px 24px;
	border: none;
	border-radius: 999px;
	background: #A54BD9;
	color: #ffffff;
	font-family: 'Stratos LC Web', 'Open Sans', Arial, sans-serif;
	font-weight: 400;
	font-size: 17px;
	cursor: pointer;
	transition: opacity .25s ease, transform .15s ease;
}

.bon-influencer-form__submit:hover {
	opacity: 0.85;
}

.bon-influencer-form__submit:active {
	transform: scale(0.97);
	transition-duration: .08s;
}

.bon-influencer-form__submit:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

@media (max-width: 480px) {
	.bon-influencer-modal__dialog {
		padding: 60px 24px 32px;
	}

	.bon-influencer-form__row {
		flex-direction: column;
	}
}
