/* Westech R2 Theme */
:root {
	--westech-gradient: linear-gradient(135deg, #6f42c1, #28a745);
	--westech-gradient-hover: linear-gradient(135deg, #5a32a3, #1e7e34);
	--westech-purple: #6f42c1;
	--westech-green: #28a745;
	--westech-gray-fill: #f3f4f6;
	--westech-gray-border: #e5e7eb;
}
.navbar { background: #ffffff !important; border-bottom: 1px solid #e5e7eb !important; }
.form-section .section-head, .form-dashboard-section .section-head {
	background: linear-gradient(135deg, #6f42c1, #28a745) !important;
	color: #ffffff !important; font-weight: 600 !important;
	padding: 10px 15px !important; border-radius: 6px 6px 0 0 !important; margin-bottom: 0 !important;
}
.form-section .section-head .collapse-indicator { color: #ffffff !important; }
.form-section .section-head::before, .form-dashboard-section .section-head::before {
	content: ''; display: inline-block; width: 32px; height: 32px;
	margin-right: 8px; vertical-align: middle;
	background-image: url('/files/COR_html_952bb51d.png');
	background-size: contain; background-repeat: no-repeat; background-position: center;
}
.card-header { background: linear-gradient(135deg, #6f42c1, #28a745) !important; color: #ffffff !important; padding: 12px 15px !important; border-bottom: none !important; }
.card-header h4, .card-header h5, .card-header h6, .card-header .card-title { color: #ffffff !important; }
.btn-primary, .btn-primary:not(.btn-default) {
	background: linear-gradient(135deg, #6f42c1, #28a745) !important;
	border: none !important; color: #ffffff !important; border-radius: 6px !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06) !important;
}
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(135deg, #5a32a3, #1e7e34) !important; color: #ffffff !important; }
.btn-default, .btn-secondary { background-color: #f3f4f6 !important; color: #374151 !important; border: 1px solid #e5e7eb !important; border-radius: 6px !important; }
.frappe-control input.form-control, .frappe-control textarea.form-control, .form-control {
	background-color: #f3f4f6 !important; border: 1px solid #e5e7eb !important; border-radius: 6px !important;
}
.frappe-control input.form-control:focus, .form-control:focus {
	border-color: #6f42c1 !important; box-shadow: 0 0 0 0.2rem rgba(111,66,193,0.25) !important; background-color: #ffffff !important;
}
.sidebar-item, .sidebar-item a { color: #4b5563 !important; }
.sidebar-item:hover, .sidebar-item:hover a { color: #171717 !important; }
.sidebar-item.active, .sidebar-item.active a { color: #171717 !important; }
input[type="checkbox"]:checked { accent-color: #6f42c1 !important; }
.progress-bar { background: linear-gradient(135deg, #6f42c1, #28a745) !important; }
.modal-header { border-bottom: 2px solid transparent; border-image: linear-gradient(135deg, #6f42c1, #28a745) 1 !important; }
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { color: #6f42c1 !important; border-bottom-color: #6f42c1 !important; }
.datatable .dt-header { background: linear-gradient(180deg, rgba(111,66,193,0.06), rgba(40,167,69,0.04)) !important; }
