.mvdl-divi-bridge-optin,
.mvdl-divi-bridge-card,
.mvdl-divi-bridge-notice {
	box-sizing: border-box;
}

.mvdl-divi-bridge-optin,
.mvdl-divi-bridge-card {
	position: relative;
	border: 1px solid rgba(214, 199, 232, 0.18);
	border-radius: 24px;
	padding: 1.5rem;
	background:
		linear-gradient(145deg, rgba(28, 31, 38, 0.92), rgba(11, 11, 15, 0.94)),
		radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 56%);
	box-shadow:
		0 24px 60px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(245, 247, 250, 0.05);
	backdrop-filter: blur(18px);
	color: #f5f7fa;
}

.mvdl-divi-bridge-optin--native form,
.mvdl-divi-bridge-optin--native .areso-email-engine-form {
	margin: 0;
}

.mvdl-divi-bridge-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	align-items: end;
}

.mvdl-divi-bridge-field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.mvdl-divi-bridge-field label {
	font-size: 0.92rem;
	font-weight: 600;
	color: #d6c7e8;
	letter-spacing: 0.02em;
}

.mvdl-divi-bridge-field input,
.mvdl-divi-bridge-field select,
.mvdl-divi-bridge-field textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(200, 204, 212, 0.18);
	border-radius: 16px;
	background: rgba(18, 18, 24, 0.88);
	color: #f5f7fa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mvdl-divi-bridge-field input::placeholder,
.mvdl-divi-bridge-field textarea::placeholder {
	color: rgba(214, 199, 232, 0.58);
}

.mvdl-divi-bridge-field input:focus,
.mvdl-divi-bridge-field select:focus,
.mvdl-divi-bridge-field textarea:focus,
.mvdl-divi-bridge-button:focus {
	outline: none;
	border-color: rgba(192, 132, 252, 0.72);
	box-shadow:
		0 0 0 3px rgba(123, 44, 255, 0.18),
		0 16px 30px rgba(49, 46, 129, 0.22);
}

.mvdl-divi-bridge-actions {
	grid-column: 1 / -1;
}

.mvdl-divi-bridge-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 50px;
	padding: 0.9rem 1.5rem;
	border: 1px solid rgba(200, 204, 212, 0.18);
	border-radius: 999px;
	background: rgba(18, 18, 24, 0.92);
	color: #f5f7fa;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease,
		background 180ms ease;
}

.mvdl-divi-bridge-button:hover {
	transform: translateY(-1px);
	border-color: rgba(192, 132, 252, 0.48);
	box-shadow: 0 16px 34px rgba(15, 18, 35, 0.45);
	color: #f5f7fa;
}

.mvdl-divi-bridge-button--primary {
	background:
		linear-gradient(135deg, rgba(49, 46, 129, 0.92), rgba(123, 44, 255, 0.94)),
		radial-gradient(circle at top center, rgba(192, 132, 252, 0.32), transparent 70%);
	border-color: rgba(214, 199, 232, 0.22);
	box-shadow:
		0 18px 34px rgba(49, 46, 129, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mvdl-divi-bridge-button--secondary {
	background: rgba(28, 31, 38, 0.88);
}

.mvdl-divi-bridge-tracked-button {
	max-width: 100%;
}

.mvdl-divi-bridge-notice {
	margin-bottom: 1rem;
	padding: 0.9rem 1rem;
	border-radius: 16px;
	border: 1px solid transparent;
	font-size: 0.95rem;
	line-height: 1.5;
}

.mvdl-divi-bridge-notice--success {
	background: rgba(24, 75, 52, 0.35);
	border-color: rgba(71, 214, 143, 0.28);
	color: #d7ffe8;
}

.mvdl-divi-bridge-notice--info {
	background: rgba(42, 52, 86, 0.35);
	border-color: rgba(168, 85, 247, 0.26);
	color: #ecdcff;
}

.mvdl-divi-bridge-notice--warning {
	background: rgba(97, 69, 18, 0.35);
	border-color: rgba(255, 211, 91, 0.28);
	color: #fff1c5;
}

.mvdl-divi-bridge-notice--error {
	background: rgba(111, 33, 46, 0.35);
	border-color: rgba(255, 102, 140, 0.25);
	color: #ffd8e3;
}

.mvdl-divi-bridge-card h3,
.mvdl-divi-bridge-campaign-card h3 {
	margin-top: 0;
	color: #f5f7fa;
}

.mvdl-divi-bridge-card p,
.mvdl-divi-bridge-campaign-card p {
	margin-bottom: 0;
	color: rgba(214, 199, 232, 0.92);
}

@media (max-width: 782px) {
	.mvdl-divi-bridge-form {
		grid-template-columns: 1fr;
	}

	.mvdl-divi-bridge-actions {
		grid-column: auto;
	}
}
