.seg-event-ajax {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	flex: 1 1 100%;
}

.seg-event-form {
	--seg-accent: #7b2341;
	--seg-border: #d8d8d8;
	--seg-muted: #5f6368;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 1.5em 0;
	padding: 28px;
	border: 1px solid var(--seg-border);
	border-radius: 12px;
	background: #fff;
	color: #222;
	font-size: 16px;
	line-height: 1.55;
}

.seg-event-form *,
.seg-event-form *::before,
.seg-event-form *::after {
	box-sizing: border-box;
}

.seg-event-title {
	margin: 0 0 22px;
	font-size: 1.55em;
	line-height: 1.25;
}

.seg-field {
	margin: 0 0 20px;
}

.seg-required-marker {
	color: #a15c00;
}

.seg-field > label,
.seg-choice-field legend {
	display: block;
	margin: 0 0 7px;
	font-weight: 600;
}

.seg-event-form input[type="text"],
.seg-event-form input[type="email"],
.seg-event-form input[type="number"],
.seg-event-form input[type="file"],
.seg-event-form textarea {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 9px 12px;
	border: 1px solid #999;
	border-radius: 6px;
	background: #fff;
	color: #222;
	font: inherit;
}

.seg-field-help,
.seg-photo-requirement {
	margin: 6px 0 0;
	color: var(--seg-muted);
	font-size: 0.9em;
}

.seg-photo-requirement {
	margin: -10px 0 20px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #f7f4f5;
}

.seg-event-form input:focus,
.seg-event-form textarea:focus,
.seg-event-form button:focus,
.seg-event-form a:focus {
	outline: 3px solid rgba(123, 35, 65, 0.28);
	outline-offset: 2px;
}

.seg-choice-field {
	min-width: 0;
	padding: 0;
	border: 0;
}

.seg-choice {
	display: flex;
	align-items: center;
	gap: 9px;
	width: fit-content;
	margin: 7px 0;
	font-weight: 400;
	cursor: pointer;
}

.seg-event-form input[type="checkbox"] {
	width: 19px;
	height: 19px;
	min-width: 19px;
	margin: 0;
}

.seg-event-observations {
	margin: 24px 0;
	padding: 15px 17px;
	border-left: 4px solid var(--seg-accent);
	border-radius: 0 6px 6px 0;
	background: #f7f4f5;
}

.seg-event-observations > :first-child {
	margin-top: 0;
}

.seg-event-observations > :last-child {
	margin-bottom: 0;
}

.seg-no-storage-notice {
	border-left-color: #277144;
	background: #f1f9f4;
}

.seg-consent-field {
	padding: 16px;
	border: 1px solid var(--seg-border);
	border-radius: 8px;
	background: #fafafa;
}

.seg-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-weight: 400 !important;
	cursor: pointer;
}

.seg-consent-label input {
	flex: 0 0 19px;
	margin-top: 3px !important;
}

.seg-consent-label span {
	flex: 1;
}

.seg-event-form a {
	color: var(--seg-accent);
	text-decoration: underline;
	overflow-wrap: anywhere;
}

.seg-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin: 2px 0 0;
	padding: 11px 24px;
	border: 0;
	border-radius: 6px;
	background: var(--seg-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.seg-submit-button:hover {
	filter: brightness(0.9);
}

.seg-submit-button:disabled {
	opacity: 0.7;
	cursor: wait;
}

.seg-privacy-info {
	margin-top: 22px;
	color: var(--seg-muted);
	font-size: 0.86em;
	line-height: 1.55;
}

.seg-privacy-info p {
	margin: 0 0 10px;
}

.seg-privacy-info p:last-child {
	margin-bottom: 0;
}

.seg-event-errors {
	margin: 0 0 22px;
	padding: 14px 17px;
	border-left: 4px solid #b32d2e;
	background: #fcf0f1;
	color: #691519;
}

.seg-event-errors ul {
	margin: 8px 0 0 20px;
	padding: 0;
}

.seg-event-success {
	border-left: 5px solid #277144;
	background: #f1f9f4;
}

.seg-event-success p {
	margin: 0 0 8px;
}

.seg-event-success p:last-child {
	margin-bottom: 0;
}

.seg-event-error {
	padding: 12px 15px;
	border-left: 4px solid #b32d2e;
	background: #fcf0f1;
	color: #691519;
}

.seg-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 600px) {
	.seg-event-form {
		padding: 20px 17px;
		border-radius: 8px;
	}

	.seg-submit-button {
		width: 100%;
	}
}
