/* START: KOL Profile Customizer Panel */

/* START: Modal Overlay */
html.dark-mode .kol-customizer-overlay,
html.light-mode .kol-customizer-overlay {
	display: none;
}
/* END: Modal Overlay */

/* START: Toggle Button */
html.dark-mode .kol-customizer-toggle,
html.light-mode .kol-customizer-toggle {
	position: fixed;
	bottom: 5px;
	right: 140px;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: all 0.3s ease;
	background: #846c80;
	color: #e5fbc8;
	box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
}

html.dark-mode .kol-customizer-toggle .dashicons,
html.light-mode .kol-customizer-toggle .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
}
/* END: Toggle Button */

/* START: Modal Panel - Dark Mode */
html.dark-mode .kol-customizer-slide-panel {
	position: fixed;
	right: -380px;
	top: 0;
	height: 100vh;
	width: 380px;
	background: #1a1a1a;
	border: 1px solid #333;
	border-radius: 0;
	box-shadow: -2px 0 10px rgba(0,0,0,0.5);
	z-index: 9980;
	transition: right 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

html.dark-mode .kol-customizer-slide-panel.open {
	right: 0;
}

html.dark-mode .kol-customizer-header {
	padding: 60px 20px 15px 20px;
	background: #222222;
	border-bottom: 1px solid #333;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

html.dark-mode .kol-customizer-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #e0e0e0;
}

html.dark-mode .kol-theme-toggle {
	display: flex;
	gap: 8px;
	border-radius: 6px;
	background: #2a2a2a;
	padding: 4px;
}

html.dark-mode .kol-theme-btn {
	padding: 6px 12px;
	border: none;
	background: transparent;
	color: #999;
	cursor: pointer;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	transition: all 0.2s ease;
}

html.dark-mode .kol-theme-btn.active {
	background: #383838;
	color: #fff;
}

html.dark-mode .kol-customizer-close {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #aaa;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

html.dark-mode .kol-customizer-close:hover {
	color: #e0e0e0;
}

html.dark-mode .kol-customizer-content {
	padding: 25px;
	margin-top: 80px;
	flex: 1;
	overflow-y: auto;
}

html.dark-mode .kol-customizer-section {
	margin-bottom: 20px;
}

html.dark-mode .kol-color-display {
	width: 100%;
	height: 80px;
	border: 1px solid #333;
	border-radius: 8px;
	margin-bottom: 15px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
	background: #1a1a1a;
}

html.dark-mode .kol-customizer-section label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	font-size: 14px;
	color: #e0e0e0;
}

html.dark-mode .kol-style-buttons {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

html.dark-mode .kol-style-btn {
	flex: 1;
	padding: 8px 16px;
	background: #2a2a2a;
	color: #999;
	border: 1px solid #333;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 500;
	font-size: 13px;
	transition: all 0.2s ease;
}

html.dark-mode .kol-style-btn:hover {
	background: #333;
	color: #ccc;
}

html.dark-mode .kol-style-btn[data-active="1"] {
	background: #383838;
	color: #fff;
	border-color: #555;
}

html.dark-mode .kol-customizer-section small {
	color: #777;
	font-size: 12px;
}

html.dark-mode .kol-color-input {
	width: 100%;
	height: 50px;
	border: 1px solid #333;
	border-radius: 8px;
	cursor: pointer;
	background: #2a2a2a;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
	padding: 4px;
}

html.dark-mode .kol-auto-save-section {
	margin-bottom: 25px;
}

html.dark-mode .kol-checkbox-label {
	display: flex;
	align-items: center;
	font-weight: normal;
	margin: 0;
	cursor: pointer;
	color: #e0e0e0;
}

html.dark-mode .kol-checkbox-label input[type="checkbox"] {
	margin-right: 10px;
	cursor: pointer;
	width: auto;
}

html.dark-mode .kol-save-status {
	margin-top: 12px;
	text-align: center;
	font-size: 13px;
	min-height: 20px;
}

html.dark-mode .kol-save-status.saving {
	color: #4da6ff;
	font-weight: 600;
}

html.dark-mode .kol-save-status.success {
	color: #4CAF50;
	font-weight: 600;
}

html.dark-mode .kol-save-status.error {
	color: #f44336;
	font-weight: 600;
}
/* END: Modal Panel - Dark Mode */

/* START: Modal Panel - Light Mode */
html.light-mode .kol-customizer-slide-panel {
	position: fixed;
	right: -380px;
	top: 0;
	height: 100vh;
	width: 380px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 0;
	box-shadow: -2px 0 10px rgba(0,0,0,0.15);
	z-index: 9980;
	transition: right 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

html.light-mode .kol-customizer-slide-panel.open {
	right: 0;
}

html.light-mode .kol-customizer-header {
	padding: 60px 20px 15px 20px;
	background: #f3f4f6;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

html.light-mode .kol-customizer-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #1f2937;
}

html.light-mode .kol-theme-toggle {
	display: flex;
	gap: 8px;
	border-radius: 6px;
	background: #e5e7eb;
	padding: 4px;
}

html.light-mode .kol-theme-btn {
	padding: 6px 12px;
	border: none;
	background: transparent;
	color: #666;
	cursor: pointer;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	transition: all 0.2s ease;
}

html.light-mode .kol-theme-btn.active {
	background: #ffffff;
	color: #1f2937;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

html.light-mode .kol-customizer-close {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #999;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

html.light-mode .kol-customizer-close:hover {
	color: #1f2937;
}

html.light-mode .kol-customizer-content {
	padding: 25px;
	margin-top: 80px;
	flex: 1;
	overflow-y: auto;
}

html.light-mode .kol-customizer-section {
	margin-bottom: 20px;
}

html.light-mode .kol-color-display {
	width: 100%;
	height: 80px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 15px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
	background: #f3f4f6;
}

html.light-mode .kol-customizer-section label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	font-size: 14px;
	color: #1f2937;
}

html.light-mode .kol-style-buttons {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

html.light-mode .kol-style-btn {
	flex: 1;
	padding: 8px 16px;
	background: #e5e7eb;
	color: #666;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 500;
	font-size: 13px;
	transition: all 0.2s ease;
}

html.light-mode .kol-style-btn:hover {
	background: #d1d5db;
	color: #333;
}

html.light-mode .kol-style-btn[data-active="1"] {
	background: #ffffff;
	color: #1f2937;
	border-color: #9ca3af;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

html.light-mode .kol-customizer-section small {
	color: #999;
	font-size: 12px;
}

html.light-mode .kol-color-input {
	width: 100%;
	height: 50px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	background: #f3f4f6;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
	padding: 4px;
}

html.light-mode .kol-auto-save-section {
	margin-bottom: 25px;
}

html.light-mode .kol-checkbox-label {
	display: flex;
	align-items: center;
	font-weight: normal;
	margin: 0;
	cursor: pointer;
	color: #1f2937;
}

html.light-mode .kol-checkbox-label input[type="checkbox"] {
	margin-right: 10px;
	cursor: pointer;
	width: auto;
}

html.light-mode .kol-save-status {
	margin-top: 12px;
	text-align: center;
	font-size: 13px;
	min-height: 20px;
}

html.light-mode .kol-save-status.saving {
	color: #0066cc;
	font-weight: 600;
}

html.light-mode .kol-save-status.success {
	color: #2d7c2d;
	font-weight: 600;
}

html.light-mode .kol-save-status.error {
	color: #dc3545;
	font-weight: 600;
}
/* END: Modal Panel - Light Mode */

/* START: Save Button - Both Modes */
html.dark-mode .kol-customizer-save-btn,
html.light-mode .kol-customizer-save-btn {
	width: 100%;
	padding: 11px 20px;
	background: linear-gradient(#2d7c2d, #1f5f1f);
	color: #ffffff;
	border-top: 1px solid #3d9d3d;
	border-left: 1px solid #3d9d3d;
	border-right: 1px solid #1a4d1a;
	border-bottom: 1px solid #1a4d1a;
	border-radius: 6px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: box-shadow 0.2s ease;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

html.dark-mode .kol-customizer-save-btn:hover,
html.light-mode .kol-customizer-save-btn:hover {
	box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}

html.dark-mode .kol-customizer-save-btn:active,
html.light-mode .kol-customizer-save-btn:active {
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
/* END: Save Button - Both Modes */

/* START: Responsive */
@media (max-width: 1200px) {
	html.dark-mode .kol-customizer-toggle,
	html.light-mode .kol-customizer-toggle {
		bottom: 55px;
	}
}

@media (max-width: 768px) {
	html.dark-mode .kol-customizer-slide-panel,
	html.light-mode .kol-customizer-slide-panel {
		width: 80vw;
		right: -80vw;
	}
}
/* END: Responsive */

/* END: KOL Profile Customizer Panel */
