.fived-bridge-wrap {
	max-width: 1180px;
}

.fived-bridge-lead {
	max-width: 850px;
	font-size: 15px;
}

.fived-bridge-card {
	margin: 20px 0;
	padding: 20px 22px;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.fived-bridge-card h2 {
	margin-top: 0;
}

.dp-chatgpt-setup__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 20px 0;
	padding: 0;
	list-style: none;
	counter-reset: dp-chatgpt-step;
}

.dp-chatgpt-setup__steps li {
	position: relative;
	min-height: 100%;
	padding: 18px 18px 18px 58px;
	border: 1px solid #ded7ec;
	border-radius: 9px;
	background: #faf8fd;
	counter-increment: dp-chatgpt-step;
}

.dp-chatgpt-setup__steps li::before {
	position: absolute;
	top: 18px;
	left: 16px;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: #6337c7;
	color: #fff;
	font-weight: 700;
	content: counter(dp-chatgpt-step);
}

.dp-chatgpt-setup__steps h3 {
	margin: 2px 0 8px;
	font-size: 15px;
}

.dp-chatgpt-setup__steps p {
	margin: 0 0 14px;
}

@media (max-width: 960px) {
	.dp-chatgpt-setup__steps {
		grid-template-columns: 1fr;
	}
}

.dp-openai-card__heading {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: space-between;
}

.dp-openai-card__heading p {
	max-width: 760px;
}

.dp-openai-status {
	flex: 0 0 auto;
	padding: 7px 10px;
	border-radius: 999px;
	background: #f0f0f1;
	color: #50575e;
	font-size: 12px;
}

.dp-openai-status--connected {
	background: #e2f6e9;
	color: #176b44;
}

.dp-openai-status--error {
	background: #fce8e8;
	color: #9b2929;
}

.dp-openai-status--not_tested {
	background: #fff4cf;
	color: #725400;
}

.dp-openai-key-form,
.dp-openai-model-form {
	display: grid;
	gap: 7px;
	max-width: 760px;
	margin-top: 20px;
}

.dp-openai-key-row,
.dp-openai-model-row,
.dp-openai-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.dp-openai-key-row input {
	flex: 1 1 360px;
	min-height: 40px;
}

.dp-openai-model-row select {
	flex: 1 1 360px;
	min-height: 40px;
	max-width: 560px;
}

.dp-openai-actions {
	margin-top: 16px;
}

.dp-openai-actions form {
	margin: 0;
}

@media (max-width: 700px) {
	.dp-openai-card__heading {
		display: block;
	}

	.dp-openai-status {
		display: inline-block;
		margin-top: 8px;
	}
}

.fived-bridge-card details {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #e2e4e7;
}

.fived-bridge-card summary {
	color: #5c34ba;
	font-weight: 700;
	cursor: pointer;
}

.fived-bridge-toggle {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 10px 0;
	font-weight: 600;
}

.fived-bridge-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 18px;
}

.fived-bridge-fields label {
	display: grid;
	gap: 6px;
	min-width: 220px;
	font-weight: 600;
}

.fived-bridge-check-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 10px;
}

.fived-bridge-check-grid label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
}

.fived-bridge-check-grid label.is-protected {
	background: #f6f7f7;
	opacity: 0.72;
}

.fived-bridge-check-grid span,
.fived-bridge-check-grid small {
	display: block;
}

.fived-bridge-check-grid small {
	margin-top: 3px;
	color: #646970;
}
