.replyan-ai-tabs {
	margin-bottom: 0;
}

.replyan-ai-tabs .nav-tab {
	appearance: none;
	cursor: pointer;
	font: inherit;
}

.replyan-ai-tab-panel {
	background: #ffffff;
	border: 1px solid #c3c4c7;
	border-top: 0;
	display: none;
	max-width: 920px;
	padding: 20px 24px 6px;
}

.replyan-ai-tab-panel.is-active {
	display: block;
}

.replyan-ai-tab-panel h2 {
	margin-top: 0;
}

.replyan-ai-range-field {
	align-items: center;
	display: flex;
	gap: 12px;
	max-width: 440px;
}

.replyan-ai-range-field input[type="range"] {
	width: 100%;
}

.replyan-ai-range-field output {
	background: #f0f0f1;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	min-width: 42px;
	padding: 4px 8px;
	text-align: center;
}

.replyan-ai-api-key-card {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d5dce7;
	border-radius: 8px;
	display: flex;
	gap: 16px;
	margin-bottom: 12px;
	max-width: 620px;
	min-height: 64px;
	padding: 14px 16px;
	transition: border-color 160ms ease, opacity 160ms ease;
}

.replyan-ai-api-key-card.is-disabled {
	background: #f8fafc;
}

.replyan-ai-api-key-card.is-delete-pending {
	border-color: #d63638;
	opacity: 0.72;
}

.replyan-ai-switch {
	display: inline-flex;
	flex: 0 0 auto;
}

.replyan-ai-switch input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.replyan-ai-switch-control {
	background: #8c8f94;
	border-radius: 999px;
	cursor: pointer;
	display: block;
	height: 22px;
	position: relative;
	transition: background 160ms ease;
	width: 38px;
}

.replyan-ai-switch-control::after {
	background: #ffffff;
	border-radius: 50%;
	content: "";
	height: 16px;
	left: 3px;
	position: absolute;
	top: 3px;
	transition: transform 160ms ease;
	width: 16px;
}

.replyan-ai-switch input:checked + .replyan-ai-switch-control {
	background: #635bff;
}

.replyan-ai-switch input:checked + .replyan-ai-switch-control::after {
	transform: translateX(16px);
}

.replyan-ai-switch input:focus + .replyan-ai-switch-control {
	box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.22);
}

.replyan-ai-api-key-status {
	flex: 1;
	min-width: 0;
}

.replyan-ai-api-key-status strong,
.replyan-ai-api-key-status span {
	display: block;
}

.replyan-ai-api-key-status strong {
	color: #1d2327;
	font-size: 14px;
	margin-bottom: 3px;
}

.replyan-ai-api-key-status span {
	color: #646970;
}

.replyan-ai-delete-api-key {
	align-items: center;
	display: inline-flex;
	gap: 4px;
	text-decoration: none;
}

.replyan-ai-delete-api-key .dashicons {
	font-size: 18px;
	height: 18px;
	width: 18px;
}
