/* FoundrFuse - New Blue Color Scheme Override */

:root {
  /* New Primary Blue Color Scheme */
  --primary-color: #1435b1 !important;
  --primary-dark: #0f2a8a !important;
  --primary-light: #e8f0ff !important;
  --primary-gradient: linear-gradient(135deg, #1435b1 0%, #0f2a8a 100%) !important;
  
  /* Supporting colors that work with the new blue */
  --secondary-color: #28a745 !important;
  --accent-color: #17a2b8 !important;
  --success-color: #28a745 !important;
  --warning-color: #ffc107 !important;
  --danger-color: #dc3545 !important;
}

/* Global color overrides */
.btn-primary,
button[type="submit"] {
  background: linear-gradient(135deg, #1435b1 0%, #0f2a8a 100%) !important;
  border-color: #1435b1 !important;
}

.btn-primary:hover,
button[type="submit"]:hover {
  background: linear-gradient(135deg, #0f2a8a 0%, #0a1f6b 100%) !important;
  border-color: #0f2a8a !important;
}

.btn-outline-primary {
  color: #1435b1 !important;
  border-color: #1435b1 !important;
}

.btn-outline-primary:hover {
  background: #1435b1 !important;
  border-color: #1435b1 !important;
}

/* Navigation */
.navbar-brand {
  background: linear-gradient(135deg, #1435b1 0%, #0f2a8a 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.nav-link:hover,
.nav-link.active {
  color: #1435b1 !important;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #1435b1, #0f2a8a) !important;
}

/* Links */
a {
  color: #1435b1 !important;
}

a:hover {
  color: #0f2a8a !important;
}

/* Text colors */
.text-primary {
  color: #1435b1 !important;
}

/* Background colors */
.bg-primary {
  background-color: #1435b1 !important;
}

/* Form controls */
.form-control:focus {
  border-color: #1435b1 !important;
  box-shadow: 0 0 0 0.2rem rgba(20, 53, 177, 0.25) !important;
}

/* Cards */
.card {
  border-color: rgba(20, 53, 177, 0.1) !important;
}

.card:hover {
  box-shadow: 0 20px 40px rgba(20, 53, 177, 0.15) !important;
}

/* Chatbot */
#ff-chatbot-bubble,
#ff-chatbot-header,
#ff-chatbot-send {
  background: linear-gradient(135deg, #1435b1, #0f2a8a) !important;
}

.ff-chatbot-msg-user span {
  background: linear-gradient(135deg, #1435b1, #0f2a8a) !important;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1435b1 0%, #0f2a8a 50%, #17a2b8 100%) !important;
}

/* Social icons */
.social-icon {
  background: linear-gradient(135deg, #1435b1, #0f2a8a) !important;
}

/* Mobile navigation */
.bottom-nav-item.active {
  color: #1435b1 !important;
  background: rgba(20, 53, 177, 0.1) !important;
}

.bottom-nav-item:hover {
  color: #1435b1 !important;
}

/* Pricing cards */
.pricing-card.featured {
  border-color: #1435b1 !important;
}

.pricing-price .amount {
  color: #1435b1 !important;
}

/* Feature icons */
.feature-icon {
  background: linear-gradient(135deg, #1435b1, #0f2a8a) !important;
}

/* Stats numbers */
.stat-number {
  background: linear-gradient(135deg, #1435b1, #0f2a8a) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Hero sections */
.hero-section {
  background: linear-gradient(135deg, #1435b1 0%, #28a745 50%, #17a2b8 100%) !important;
}

/* Badges and labels */
.badge-primary {
  background-color: #1435b1 !important;
}

.label-primary {
  background-color: #1435b1 !important;
}

/* Progress bars */
.progress-bar {
  background-color: #1435b1 !important;
}

/* Alerts */
.alert-primary {
  background-color: rgba(20, 53, 177, 0.1) !important;
  border-color: rgba(20, 53, 177, 0.2) !important;
  color: #0f2a8a !important;
}

/* Tables */
.table-primary {
  background-color: rgba(20, 53, 177, 0.1) !important;
}

/* Pagination */
.page-link {
  color: #1435b1 !important;
}

.page-item.active .page-link {
  background-color: #1435b1 !important;
  border-color: #1435b1 !important;
}

/* Tabs */
.nav-tabs .nav-link.active {
  color: #1435b1 !important;
  border-color: #1435b1 !important;
}

/* Accordion */
.accordion-button:not(.collapsed) {
  color: #1435b1 !important;
  background-color: rgba(20, 53, 177, 0.1) !important;
}

/* Tooltips */
.tooltip-inner {
  background-color: #1435b1 !important;
}

/* Popovers */
.popover-header {
  background-color: #1435b1 !important;
}

/* Spinners */
.spinner-border-primary {
  border-color: #1435b1 !important;
}

/* Custom components */
.premium-badge {
}

/* Ensure all gradients use the new color */
[style*="linear-gradient"][style*="#1435b1"],
[style*="linear-gradient"][style*="#1435b1"],
[style*="linear-gradient"][style*="#1435b1"] {
  background: linear-gradient(135deg, #1435b1, #0f2a8a) !important;
}

/* Override any remaining old colors */
[style*="#1435b1"] {
  color: #1435b1 !important;
}

[style*="#1435b1"] {
  color: #1435b1 !important;
}

[style*="#1435b1"] {
  color: #1435b1 !important;
}