/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.ponorez-forms__button {
	background: var(--ponorez-button-bg, #f6b43a);
	border: 2px solid var(--ponorez-button-bg, #f6b43a);
	border-radius: 999px;
	color: var(--ponorez-button-text, #1a1a1a) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ponorez-forms__button--solid {
	padding: 12px;
	font-size: 14px;
	border-radius: 6px;
}

.ponorez-forms__button--outline {
	background: transparent;
	color: var(--ponorez-button-bg, #f6b43a) !important;
	padding: 16px;
	font-size: 16px;
	border-radius: 8px;
}

.ponorez-forms__button--pill {
	padding: 12px 16px;
	border-radius: 999px;
}

.ponorez-forms__button:hover,
.ponorez-forms__button:focus-visible {
	background: var(--ponorez-button-bg-hover, #d9931d);
	border-color: var(--ponorez-button-bg-hover, #d9931d);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
	transform: translateY(-1px);
}

.ponorez-forms__button:focus-visible {
	outline: 3px solid #1a1a1a;
	outline-offset: 3px;
}

.ponorez-forms-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0;
	z-index: 9999;
}

.ponorez-forms-modal.is-open {
	display: flex;
}

.ponorez-forms-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
}

.ponorez-forms-modal__panel {
	position: relative;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 1;
}

.ponorez-forms-modal__frame {
	position: relative;
	flex: 1;
	overflow: hidden;
	background: transparent;
}

.ponorez-forms-modal__frame::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 16px;
	height: 100%;
	background: inherit;
	pointer-events: none;
}

.ponorez-forms-modal__close {
	position: fixed;
	top: 16px;
	right: 16px;
	background: transparent;
	border: 0;
	color: #1a1a1a;
	cursor: pointer;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1;
	padding: 0.25rem 0.5rem;
	z-index: 2;
}

.ponorez-forms-modal__close:focus-visible {
	outline: 3px solid #1a1a1a;
	outline-offset: 3px;
}

.ponorez-forms-modal__iframe {
	border: 0;
	flex: 1;
	width: 100%;
	height: 100%;
	overflow: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	display: block;
}

.ponorez-forms-modal__iframe::-webkit-scrollbar {
	display: none;
}

html.ponorez-forms-modal-open,
body.ponorez-forms-modal-open {
	background: #ffffff;
	box-sizing: border-box;
	overflow: hidden;
	padding-right: var(--ponorez-scrollbar-compensation, 0px);
	width: 100%;
}
