/* Brand overrides to replace old #7460EE with #7B1FA2 */
:root{ --brand: #7B1FA2; --brand-shadow: rgba(123,31,162,0.08); }

/* Text and border utilities */
.text-primary, .text-secondary, a.active, .active { color: var(--brand) !important; }
.border-primary, .border-secondary { border-color: var(--brand) !important; }

/* Badges */
.badge-primary { background-color: var(--brand) !important; color: #fff !important; }
.badge-secondary { background-color: var(--brand) !important; }

/* Buttons and backgrounds */
.btn-primary, .btn.btn-primary, .btn-brand { background-color: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; box-shadow: 0 6px 18px var(--brand-shadow) !important; }
.bg-primary, .bg-brand { background-color: var(--brand) !important; }

/* Inputs and focus states */
.form-control:focus, .custom-select:focus { border-color: var(--brand) !important; box-shadow: 0 0 6px var(--brand-shadow) !important; }

/* SVG icons tint */
svg { color: var(--brand) !important; }

/* Outline and variant buttons */
.btn-outline-primary, .btn-outline-secondary {
	color: var(--brand) !important;
	border-color: var(--brand) !important;
}
.btn-outline-primary:hover, .btn-outline-secondary:hover {
	background-color: var(--brand) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px var(--brand-shadow) !important;
}

/* Ensure small and large variants inherit brand */
.btn.btn-sm.btn-primary, .btn.btn-sm.btn-secondary, .btn.btn-lg.btn-primary, .btn.btn-lg.btn-secondary {
	background-color: var(--brand) !important;
	border-color: var(--brand) !important;
	color: #fff !important;
}

/* High specificity for plugin buttons that use important */
.btn-primary[disabled], .btn-secondary[disabled], .btn-primary.disabled, .btn-secondary.disabled {
	background-color: var(--brand) !important;
	border-color: var(--brand) !important;
}

/* Dropdown item svg hover */
.custom-dropdown-icon .dropdown-item:hover svg { color: var(--brand) !important; }


/* Specific helpers */
.invest-btn { background: linear-gradient(90deg, var(--brand), var(--brand)) !important; }
.soft-shadow { box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important; }
.soft-brand-shadow { box-shadow: 0 6px 18px var(--brand-shadow) !important; }

/* Ensure high specificity overrides */
* { /* empty rule to anchor file */ }

/* Theme/background buttons used across templates */
.theme-bg, .btn.theme-bg, .input-group-text.theme-bg, .agent-btn.theme-bg, .call_action_wrap-wrap.theme-bg {
	background-color: var(--brand) !important;
	border-color: var(--brand) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px var(--brand-shadow) !important;
}

.btn.exliou.theme-bg {
	background-color: var(--brand) !important;
	border-color: var(--brand) !important;
	color: #fff !important;
}

/* Replace Bootstrap 'success' (green) variants with brand color */
.btn-success, .btn.btn-success, .bg-success, .badge-success, .text-success {
	background-color: var(--brand) !important;
	border-color: var(--brand) !important;
	color: #fff !important;
}
.btn-outline-success {
	color: var(--brand) !important;
	border-color: var(--brand) !important;
}
.btn-outline-success:hover {
	background-color: var(--brand) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px var(--brand-shadow) !important;
}

/* Soft success/badge variants */
.badge-soft-success, .avatar-title.bg-success {
	background-color: rgba(123,31,162,0.08) !important;
	color: var(--brand) !important;
}

/* Inline-style fallbacks: replace old hex occurrences when used inline */
[style*="#7460ee"], [style*="#7460EE"] {
	color: var(--brand) !important;
	background-color: var(--brand) !important;
	border-color: var(--brand) !important;
}

/* Soft primary background used in UI activity/badge variants */
.bg-soft-primary {
	background-color: rgba(123,31,162,0.08) !important;
}

/* Theme link/button class used site-wide */
.theme-cl {
	color: var(--brand) !important;
	font-weight: 600;
}
.theme-cl:hover, .theme-cl:focus {
  color: var(--brand) !important;
  text-decoration: none !important;
}




