.snap-submit-trigger {
	--snap-submit-color: #2271b1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--snap-submit-color);
	color: #fff;
	border: none;
	border-radius: 999px;
	width: 56px;
	height: 56px;
	padding: 0;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease;
}

.snap-submit-trigger:hover {
	transform: scale(1.05);
}

.snap-submit-trigger .snap-submit-icon {
	width: 24px;
	height: 24px;
	display: inline-block;
	background: currentColor;
	-webkit-mask: radial-gradient(circle at 50% 55%, transparent 6px, #000 7px) , linear-gradient(#000,#000);
	mask: radial-gradient(circle at 50% 55%, transparent 6px, #000 7px), linear-gradient(#000,#000);
}

.snap-submit-trigger .snap-submit-icon::before {
	content: "\1F4F7";
}

.snap-submit-trigger .snap-submit-label {
	font-size: 13px;
	white-space: nowrap;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.snap-submit-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.snap-submit-modal[hidden] {
	display: none;
}

.snap-submit-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
}

.snap-submit-modal__panel {
	position: relative;
	background: #fff;
	width: min(420px, 92vw);
	max-height: 92vh;
	overflow-y: auto;
	border-radius: 12px;
	padding: 20px;
	z-index: 1;
}

.snap-submit-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	background: transparent;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 6px 10px;
}

.snap-submit-camera-wrap {
	position: relative;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 3 / 4;
}

.snap-submit-video,
.snap-submit-preview-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.snap-submit-frame-overlay {
	position: absolute;
	inset: 10%;
	border: 2px dashed rgba(255, 255, 255, 0.7);
	border-radius: 8px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
}

.snap-submit-frame-text {
	color: #fff;
	font-size: 12px;
	background: rgba(0, 0, 0, 0.5);
	padding: 2px 8px;
	border-radius: 4px;
	margin-bottom: 6px;
}

.snap-submit-camera-error {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(0, 0, 0, 0.85);
	padding: 16px;
	text-align: center;
	font-size: 14px;
}

.snap-submit-controls,
.snap-submit-retake-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 14px;
}

.snap-submit-btn {
	border: 1px solid #ccd0d4;
	background: #f6f7f7;
	border-radius: 6px;
	padding: 10px 16px;
	font-size: 14px;
	cursor: pointer;
}

.snap-submit-btn--icon {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.snap-submit-btn--primary {
	background: var(--snap-submit-color, #2271b1);
	border-color: transparent;
	color: #fff;
}

.snap-submit-btn--primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.snap-submit-capture {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	font-size: 0;
	background: var(--snap-submit-color, #2271b1);
	border: 4px solid #fff;
	box-shadow: 0 0 0 2px var(--snap-submit-color, #2271b1);
}

.snap-submit-gallery {
	position: relative;
}

.snap-submit-field {
	margin-bottom: 14px;
}

.snap-submit-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 13px;
}

.snap-submit-field input[type="text"],
.snap-submit-field input[type="tel"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccd0d4;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}

.snap-submit-field--consent label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-weight: normal;
	font-size: 13px;
}

.snap-submit-error {
	color: #d63638;
	font-size: 13px;
	margin: 8px 0;
}

.snap-submit-actions {
	text-align: right;
}

.snap-submit-step--success {
	text-align: center;
	padding: 24px 0;
}

body.snap-submit-open {
	overflow: hidden;
}
