/* Settings page layout */
.sellsy-wc-tabs {
	display: flex;
	flex-wrap: wrap;
	margin: 20px 0;
	padding: 0;
	border: none;
}

.sellsy-wc-tabs .nav-tab {
	margin: 0 5px 0 0;
	background: #fff;
	border: 1px solid #1a6fb0;
	border-bottom: 3px solid transparent;
	padding: 10px 20px;
	font-size: 14px;
	line-height: 1.71428571;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	color: #1a6fb0;
	border-radius: 3px 3px 0 0;
}

.sellsy-wc-tabs .nav-tab:hover {
	background: #f4f9fd;
	color: #0d4f82;
}

.sellsy-wc-tabs .nav-tab-active,
.sellsy-wc-tabs .nav-tab-active:hover,
.sellsy-wc-tabs .nav-tab-active:focus {
	background: #1a6fb0;
	color: #fff;
	border-color: #1a6fb0;
	border-bottom: 3px solid #0d4f82;
	box-shadow: none;
}

.sellsy-wc-layout {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.sellsy-wc-main-content {
	flex: 1;
	min-width: 0;
}

.sellsy-wc-tab-content {
	background: #fff;
	padding: 25px;
	border: 1px solid #ddd;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border-radius: 3px;
}

.sellsy-wc-settings-section {
	margin-bottom: 20px;
}

.sellsy-wc-settings-section h2 {
	font-size: 18px;
	padding: 0 0 10px 0;
	margin: 0 0 15px 0;
	color: #1a6fb0;
	border-bottom: 1px solid #eee;
}

.sellsy-wc-docs-btn {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: #2271b1;
	color: #fff !important;
	border-radius: 4px;
	font-weight: 500;
	margin-bottom: 20px;
}

.sellsy-wc-docs-btn:hover,
.sellsy-wc-docs-btn:focus {
	background: #135e96;
	color: #fff !important;
}

.sellsy-wc-sidebar {
	width: 280px;
	flex-shrink: 0;
}

.sellsy-wc-care-box {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.sellsy-wc-care-box-header {
	background: #111;
	padding: 18px 20px;
	position: relative;
	overflow: hidden;
}

.sellsy-wc-care-box-header::before {
	content: "";
	position: absolute;
	top: -20px;
	right: -20px;
	width: 90px;
	height: 90px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 50%;
}

.sellsy-wc-care-logo {
	display: block;
	height: 20px;
	width: auto;
	margin-bottom: 12px;
}

.sellsy-wc-care-box-header h3 {
	margin: 0 0 4px 0;
	font-size: 14px;
	font-weight: 700;
	color: #fff !important;
	position: relative;
	z-index: 1;
	line-height: 1.4;
}

.sellsy-wc-care-box-header p {
	margin: 0;
	font-size: 12px;
	color: #bbb;
	position: relative;
	z-index: 1;
	line-height: 1.4;
}

.sellsy-wc-care-box-body {
	padding: 16px 20px 20px;
}

.sellsy-wc-care-box-body p {
	margin: 0 0 14px 0;
	font-size: 13px;
	color: #444;
	line-height: 1.55;
}

.sellsy-wc-care-box-body ul {
	margin: 0 0 16px 0;
	padding-left: 0;
	list-style: none;
}

.sellsy-wc-care-box-body ul li {
	font-size: 12px;
	color: #555;
	margin-bottom: 5px;
	line-height: 1.4;
}

.sellsy-wc-care-box-body ul .sellsy-wc-care-list-more {
	color: #999;
	font-style: italic;
	font-size: 12px;
	padding-left: 1.4em;
}

.sellsy-wc-care-cta {
	display: block;
	text-align: center;
	background: #111;
	color: #fff !important;
	padding: 11px 16px;
	border-radius: 4px;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.15s ease;
}

.sellsy-wc-care-cta:hover {
	background: #333;
	color: #fff !important;
}

.sellsy-wc-pro-notice {
	background: #f4f9fd;
	border: none;
	border-left: 4px solid #1a6fb0;
	box-shadow: none;
	padding: 15px;
	margin: 20px 0;
}

.sellsy-wc-pro-label {
	white-space: nowrap;
}

.devikit-pro-badge {
	display: inline-block;
	vertical-align: middle;
	white-space: nowrap;
}

.devikit-sellsy-connection-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.devikit-sellsy-connection-result {
	font-weight: 600;
	line-height: 1.4;
}

.devikit-sellsy-connection-result.is-success {
	color: #00a32a;
}

.devikit-sellsy-connection-result.is-error {
	color: #d63638;
}

.devikit-sellsy-metabox .devikit-sellsy-metabox-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	margin: 12px 0;
}

.devikit-sellsy-metabox .devikit-sellsy-metabox-actions .button {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	justify-content: center;
}

.devikit-sellsy-metabox .devikit-sellsy-metabox-actions .button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.devikit-sellsy-metabox .devikit-sellsy-total-mismatch {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 10px;
	margin: 10px 0;
}

.devikit-sellsy-metabox .devikit-sellsy-total-mismatch__title {
	margin: 0;
	font-weight: 700;
	color: #856404;
}

.devikit-sellsy-metabox .devikit-sellsy-total-mismatch__amounts,
.devikit-sellsy-metabox .devikit-sellsy-total-mismatch__hint {
	margin: 5px 0 0;
	color: #856404;
}

.devikit-sellsy-metabox .devikit-sellsy-total-mismatch__hint {
	font-size: 12px;
}

.devikit-sellsy-metabox .devikit-sellsy-error-notice {
	background: #fff8e5;
	border-left: 4px solid #dba617;
	padding: 8px 10px;
	margin-bottom: 10px;
}

.devikit-sellsy-metabox .devikit-sellsy-inline-error {
	color: #d63638;
}

.devikit-sellsy-metabox .devikit-sellsy-loading {
	display: none;
	margin-left: 8px;
}

.devikit-sellsy-metabox .devikit-sellsy-loading.is-visible {
	display: inline-block;
}

.devikit-sellsy-metabox .devikit-sellsy-pro-teaser {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #ddd;
	opacity: 0.55;
}

.devikit-sellsy-metabox .devikit-sellsy-pro-teaser h4 {
	margin-top: 0;
}

.devikit-sellsy-metabox .devikit-sellsy-pro-teaser .devikit-sellsy-metabox-actions {
	margin: 0 0 8px;
}

.devikit-sellsy-metabox .devikit-sellsy-pro-teaser .button {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	justify-content: center;
}

@media screen and (max-width: 960px) {
	.sellsy-wc-layout {
		flex-direction: column;
	}

	.sellsy-wc-sidebar {
		width: 100%;
	}
}
