:root {
	--lcho-primary: #3b82f6;
	--lcho-primary-hover: #2563eb;
	--lcho-bg: #f8fafc;
	--lcho-card-bg: #ffffff;
	--lcho-text-main: #1e293b;
	--lcho-text-muted: #64748b;
	--lcho-border: #e2e8f0;
	--lcho-radius: 12px;
	--lcho-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.lcho-settings-wrap {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lcho-header {
	background: #ffffff;
	margin: -20px -20px 30px -20px;
	padding: 20px 24px;
	border-bottom: 1px solid var(--lcho-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.lcho-header-title h1 {
	font-size: 22px;
	font-weight: 700;
	color: var(--lcho-text-main);
	margin: 0;
	line-height: 1.2;
}

.lcho-header-title p {
	margin: 4px 0 0;
	color: var(--lcho-text-muted);
	font-size: 14px;
}

.lcho-card {
	background: var(--lcho-card-bg);
	border-radius: var(--lcho-radius);
	border: 1px solid var(--lcho-border);
	box-shadow: var(--lcho-shadow);
	margin-bottom: 24px;
	overflow: hidden;
}

.lcho-card-header {
	padding: 16px 24px;
	border-bottom: 1px solid var(--lcho-border);
	display: flex;
	align-items: center;
	gap: 10px;
}

.lcho-card-header h2 {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	color: var(--lcho-text-main);
	display: flex;
	align-items: center;
	gap: 8px;
}

.lcho-card-header .dashicons {
	color: var(--lcho-primary);
}

.lcho-card-body {
	padding: 24px;
}

/* Toggle Switch Styling */
.lcho-setting-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--lcho-border);
}

.lcho-setting-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.lcho-setting-row:first-child {
	padding-top: 0;
}

.lcho-setting-info h3 {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 4px;
	color: var(--lcho-text-main);
}

.lcho-setting-info p {
	font-size: 13px;
	color: var(--lcho-text-muted);
	margin: 0;
}

.lcho-setting-row.is-top {
	align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lcho-post-types-list {
	display: flex;
	flex-direction: row;
	gap: 6px;
	text-align: left;
}

.lcho-post-type-item label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	color: var(--lcho-text-main);
	padding: 2px 0;
}

.lcho-post-type-item input[type="checkbox"] {
	margin: 0;
	border: 1px solid var(--lcho-border);
	border-radius: 4px;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.lcho-post-type-item.is-pro {
	opacity: 0.6;
}

.lcho-post-type-item.is-pro label {
	cursor: not-allowed;
}

.lcho-pro-badge {
	color: var(--lcho-text-muted);
	font-size: 13px;
	margin-left: 2px;
}

.lcho-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.lcho-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.lcho-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #cbd5e1;
	transition: .3s;
	border-radius: 24px;
}

.lcho-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .3s;
	border-radius: 50%;
}

input:checked + .lcho-slider {
	background-color: var(--lcho-primary);
}

input:focus + .lcho-slider {
	box-shadow: 0 0 1px var(--lcho-primary);
}

input:checked + .lcho-slider:before {
	transform: translateX(20px);
}

/* Appearance Grid */
.lcho-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.lcho-color-field {
	margin-bottom: 8px;
}

.lcho-color-field label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--lcho-text-main);
	margin-bottom: 8px;
}

.lcho-color-input-wrap {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border: 1px solid var(--lcho-border);
	border-radius: 8px;
	padding: 4px;
	transition: border-color 0.2s;
}

.lcho-color-input-wrap:focus-within {
	border-color: var(--lcho-primary);
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.lcho-color-preview {
	width: 34px;
	height: 34px;
	border-radius: 6px;
	margin-right: 8px;
	border: 1px solid rgba(0,0,0,0.05);
	cursor: pointer;
}

.lcho-color-preview input[type="color"] {
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.lcho-color-input-wrap input[type="text"] {
	border: none;
	background: transparent;
	padding: 0 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--lcho-text-main);
	width: 100%;
	box-shadow: none !important;
}

/* Actions */
.lcho-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 32px;
}

.lcho-primary-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lcho-btn-save {
	background: var(--lcho-primary) !important;
	color: white !important;
	border: none !important;
	padding: 12px 28px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	height: auto !important;
	cursor: pointer;
	transition: background 0.2s !important;
	display: flex;
	align-items: center;
	gap: 8px;
}

.lcho-btn-save:hover {
	background: var(--lcho-primary-hover) !important;
}

.lcho-btn-undo {
	display: none;
	background: white !important;
	color: var(--lcho-text-main) !important;
	border: 1px solid var(--lcho-border) !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	height: auto !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s !important;
}

.lcho-btn-undo:hover{
	background: #f8fafc !important;
	border-color: var(--lcho-text-muted) !important;
}

.lcho-btn-reset {
	color: var(--lcho-text-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s;
}

.lcho-btn-reset:hover {
	color: #ef4444;
}

/* Modal Styling */
.lcho-modal {
	display: none;
	position: fixed;
	z-index: 100000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	align-items: center;
	justify-content: center;
}

.lcho-modal.is-active {
	display: flex;
}

.lcho-modal-content {
	background: var(--lcho-card-bg);
	border-radius: var(--lcho-radius);
	width: 100%;
	max-width: 440px;
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	overflow: hidden;
	animation: lcho-modal-fade 0.2s ease-out;
}

@keyframes lcho-modal-fade {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.lcho-modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--lcho-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.lcho-modal-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--lcho-text-main);
}

.lcho-modal-close {
	color: var(--lcho-text-muted);
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
}

.lcho-modal-close:hover {
	color: var(--lcho-text-main);
}

.lcho-modal-body {
	padding: 24px;
}

.lcho-modal-body p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--lcho-text-muted);
}

.lcho-modal-footer {
	padding: 16px 24px;
	background: #f8fafc;
	border-top: 1px solid var(--lcho-border);
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

.lcho-btn-cancel {
	background: white !important;
	border: 1px solid var(--lcho-border) !important;
	color: var(--lcho-text-main) !important;
	padding: 10px 20px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer;
}

.lcho-btn-confirm-reset {
	background: #ef4444 !important;
	color: white !important;
	border: none !important;
	padding: 10px 20px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer;
}

.lcho-btn-confirm-reset:hover {
	background: #dc2626 !important;
}
.lcho-info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: var(--lcho-radius);
	margin-bottom: 24px;
	color: #1e3a8a;
	overflow: hidden;
	transition: all 0.3s ease;
}

.lcho-info-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s;
}

.lcho-info-header:hover {
	background-color: #dbeafe;
}

.lcho-info-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lcho-info-header h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1e3a8a;
}

.lcho-info-header .dashicons-info {
	color: #3b82f6;
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.lcho-toggle-icon {
	color: #64748b;
	transition: transform 0.3s ease;
}

.lcho-info.is-expanded .lcho-toggle-icon {
	transform: rotate(180deg);
}

.lcho-info-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease;
	padding: 0 24px;
}

.lcho-info.is-expanded .lcho-info-content {
	max-height: 1000px;
	padding: 0 24px 24px 24px;
}

.lcho-info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	border-top: 1px solid #bfdbfe;
	padding-top: 24px;
}

.lcho-info-item h3 {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 8px;
	color: #1e40af;
	display: flex;
	align-items: center;
	gap: 6px;
}

.lcho-info-item p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #1e3a8a;
	opacity: 0.9;
}

.lcho-info-item .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

@media (max-width: 782px) {
	.lcho-info-grid {
		grid-template-columns: 1fr;
	}
}
