.bscc-dpo-form-wrap,
.bscc-dpo-form-wrap * {
	box-sizing: border-box;
}

.bscc-dpo-form-wrap {
	--bscc-dpo-line: #e3e4ea;
	--bscc-dpo-soft: #f7f7fa;
	color: var(--bscc-dpo-text);
	font-family: var(--bscc-dpo-font);
	font-size: 16px;
	line-height: 1.5;
	margin: 24px auto;
	max-width: 820px;
}

.bscc-dpo-form {
	background: #fff;
	border: 1px solid var(--bscc-dpo-line);
	border-radius: max(12px, var(--bscc-dpo-radius));
	box-shadow: 0 14px 42px rgba(31, 33, 48, .07);
	padding: 28px;
}

.bscc-dpo-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 18px;
}

.bscc-dpo-field {
	margin-bottom: 18px;
}

.bscc-dpo-grid .bscc-dpo-field {
	margin-bottom: 0;
}

.bscc-dpo-field label {
	color: var(--bscc-dpo-text);
	display: block;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 7px;
}

.bscc-dpo-field label span {
	color: var(--bscc-dpo-accent);
}

.bscc-dpo-field input,
.bscc-dpo-field select,
.bscc-dpo-field textarea {
	appearance: none;
	background: #fff;
	border: 1px solid #cfd1da;
	border-radius: max(8px, calc(var(--bscc-dpo-radius) * .55));
	box-shadow: none;
	color: var(--bscc-dpo-text);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
	min-height: 46px;
	outline: 0;
	padding: 10px 12px;
	transition: border-color .16s ease, box-shadow .16s ease;
	width: 100%;
}

.bscc-dpo-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--bscc-dpo-muted) 50%), linear-gradient(135deg, var(--bscc-dpo-muted) 50%, transparent 50%);
	background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 34px;
}

.bscc-dpo-field textarea {
	min-height: 150px;
	resize: vertical;
}

.bscc-dpo-field input:focus,
.bscc-dpo-field select:focus,
.bscc-dpo-field textarea:focus {
	border-color: var(--bscc-dpo-accent);
	box-shadow: 0 0 0 3px rgba(138, 93, 230, .14);
}

.bscc-dpo-submit {
	appearance: none;
	background: var(--bscc-dpo-accent);
	border: 1px solid var(--bscc-dpo-accent);
	border-radius: max(8px, calc(var(--bscc-dpo-radius) * .55));
	box-shadow: 0 9px 22px rgba(91, 57, 161, .2);
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	min-height: 46px;
	padding: 12px 24px;
	transition: transform .16s ease, box-shadow .16s ease;
}

.bscc-dpo-submit:hover {
	box-shadow: 0 12px 26px rgba(91, 57, 161, .26);
	transform: translateY(-1px);
}

.bscc-dpo-submit:focus-visible {
	outline: 3px solid rgba(138, 93, 230, .3);
	outline-offset: 3px;
}

.bscc-dpo-privacy-note {
	color: var(--bscc-dpo-muted);
	font-family: inherit;
	font-size: 11.5px;
	line-height: 1.5;
	margin: 10px 0 0;
}

.bscc-dpo-notice,
.bscc-dpo-admin-notice {
	border: 1px solid;
	border-radius: 10px;
	font-family: inherit;
	font-size: 13px;
	margin-bottom: 14px;
	padding: 12px 14px;
}

.bscc-dpo-notice.is-success {
	background: #eaf8ef;
	border-color: #b9e5c9;
	color: #1c6f3d;
}

.bscc-dpo-notice.is-error {
	background: #fff0f0;
	border-color: #efc1c1;
	color: #922f2f;
}

.bscc-dpo-admin-notice {
	background: #fff8e4;
	border-color: #ead899;
	color: #725b17;
}

.bscc-dpo-honeypot {
	height: 1px !important;
	left: -10000px !important;
	overflow: hidden !important;
	position: absolute !important;
	top: auto !important;
	width: 1px !important;
}

@media (max-width: 640px) {
	.bscc-dpo-form {
		padding: 20px;
	}

	.bscc-dpo-grid {
		grid-template-columns: 1fr;
	}

	.bscc-dpo-submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bscc-dpo-form-wrap * {
		transition-duration: .01ms !important;
	}
}
