.wc-modal-shipping-method-settings table.form-table h3 {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #1d2327 !important;
}
.ktdaps-modal-toggle-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
}
.ktdaps-modal-toggle {
	position: relative;
	width: 42px;
	height: 24px;
	flex-shrink: 0;
}
.ktdaps-modal-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}
.ktdaps-modal-toggle .slider {
	position: absolute;
	inset: 0;
	background: #ccc;
	border-radius: 24px;
	cursor: pointer;
	transition: background .2s;
}
.ktdaps-modal-toggle .slider:before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform .2s;
	box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.ktdaps-modal-toggle input:checked + .slider {
	background: #2271b1;
}
.ktdaps-modal-toggle input:checked + .slider:before {
	transform: translateX(18px);
}

.ktdaps-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; max-width: 760px; }
.ktdaps-tabs { display: flex; gap: 4px; border-bottom: 2px solid #e0e0e0; margin-bottom: 0; padding: 0; }
.ktdaps-tab-btn {
	padding: 10px 18px; border: none; background: none; cursor: pointer;
	font-size: 13px; font-weight: 500; color: #666; border-bottom: 2px solid transparent;
	margin-bottom: -2px; transition: all .15s; border-radius: 4px 4px 0 0;
}
.ktdaps-tab-btn:hover { color: #2271b1; background: #f0f6ff; }
.ktdaps-tab-btn.active { color: #2271b1; border-bottom-color: #2271b1; background: #fff; }
.ktdaps-tab-btn .tab-icon { margin-right: 5px; }

.ktdaps-panel { display: none; padding: 24px 0 8px; }
.ktdaps-panel.active { display: block; }

.ktdaps-card {
	background: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
	padding: 20px 24px; margin-bottom: 0;
}
.ktdaps-card + .ktdaps-card {
	border-top: none; border-radius: 0 0 8px 8px; margin-top: 0;
}
.ktdaps-card:first-of-type {
	border-radius: 8px 8px 0 0;
}
.ktdaps-section {
	border: 1px solid #e0e0e0; border-radius: 8px;
	margin-bottom: 20px; overflow: hidden;
}
.ktdaps-section .ktdaps-card {
	border: none; border-radius: 0; margin: 0;
	border-bottom: 1px solid #f0f0f0;
}
.ktdaps-section .ktdaps-card:last-child {
	border-bottom: none;
}
.ktdaps-card-title {
	font-size: 13px; font-weight: 600; text-transform: uppercase;
	letter-spacing: .6px; color: #999; margin: 0 0 16px; padding-bottom: 10px;
	border-bottom: 1px solid #f0f0f0;
}

.ktdaps-field { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.ktdaps-field:last-child { margin-bottom: 0; }
.ktdaps-field-label {
	width: 180px; min-width: 180px; padding-top: 7px;
	font-size: 13px; font-weight: 500; color: #3c434a;
}
.ktdaps-field-label small { display: block; font-weight: 400; color: #888; font-size: 11px; margin-top: 2px; }
.ktdaps-field-input { flex: 1; }
.ktdaps-field-input input[type="text"],
.ktdaps-field-input input[type="number"] {
	width: 100%; max-width: 340px; padding: 7px 10px;
	border: 1px solid #ddd; border-radius: 5px; font-size: 13px;
	transition: border-color .15s, box-shadow .15s;
}
.ktdaps-field-input input:focus {
	outline: none; border-color: #2271b1; box-shadow: 0 0 0 2px rgba(34,113,177,.15);
}
.ktdaps-field-input input.short { max-width: 100px; }
.ktdaps-field-input .hint { font-size: 11px; color: #888; margin-top: 4px; }
.ktdaps-field-input .hint a { color: #2271b1; }

.ktdaps-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ktdaps-toggle-switch {
	position: relative; width: 40px; height: 22px; flex-shrink: 0;
}
.ktdaps-toggle-switch input { opacity: 0; width: 0; height: 0; }
.ktdaps-toggle-switch .slider {
	position: absolute; inset: 0; background: #ccc; border-radius: 22px;
	transition: background .2s;
}
.ktdaps-toggle-switch .slider:before {
	content: ''; position: absolute; width: 16px; height: 16px;
	left: 3px; top: 3px; background: white; border-radius: 50%;
	transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.ktdaps-toggle-switch input:checked + .slider { background: #2271b1; }
.ktdaps-toggle-switch input:checked + .slider:before { transform: translateX(18px); }
.ktdaps-toggle-label { font-size: 13px; color: #3c434a; }
.ktdaps-toggle-sub { font-size: 11px; color: #888; margin-top: 1px; }

.ktdaps-dims-row { display: flex; align-items: center; gap: 8px; }
.ktdaps-dims-row input { width: 72px !important; max-width: 72px !important; text-align: center; }
.ktdaps-dims-row span { color: #999; font-size: 13px; }
.ktdaps-dims-row .unit { font-size: 11px; color: #888; margin-left: 2px; }

.ktdaps-status-bar {
	display: flex; align-items: center; gap: 8px; padding: 10px 16px;
	background: #f8f8f8; border: 1px solid #e0e0e0; border-radius: 6px;
	margin-bottom: 16px; font-size: 12px; color: #555;
}
.ktdaps-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; }
.ktdaps-status-dot.ok { background: #46b450; }
.ktdaps-status-dot.warn { background: #ffb900; }

.ktdaps-save-bar {
	display: flex; justify-content: flex-end; align-items: center;
	gap: 10px; padding-top: 16px; border-top: 1px solid #f0f0f0; margin-top: 8px;
}
.ktdaps-btn-save {
	padding: 9px 22px; background: #2271b1; color: white; border: none;
	border-radius: 5px; font-size: 13px; font-weight: 500; cursor: pointer;
	transition: background .15s;
}
.ktdaps-btn-save:hover { background: #135e96; }