:root {
  --ai-chat-header-bg: linear-gradient(145deg, #303236, #18191b);
  --ai-chat-header-hover: linear-gradient(145deg, #404248, #202124);
}

/* Chat Widget Trigger Buttons (Matching fun-facts-m / back-to-top) */
.ai-chat-trigger-btn,
.support-chat-trigger-btn,
#aiChatBtn,
#supportChatBtn {
  background: rgba(30, 31, 35, 0.95) !important;
  background: linear-gradient(145deg, #303236, #18191b) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.ai-chat-trigger-btn:hover,
.support-chat-trigger-btn:hover,
#aiChatBtn:hover,
#supportChatBtn:hover {
  background: linear-gradient(145deg, #404248, #202124) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Chat Widget Headers */
.ai-chat-widget-header,
.support-chat-widget-header,
#aiChatHeader,
#supportChatHeader {
  background: linear-gradient(145deg, #303236, #18191b) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* Chat Send Button */
.ai-chat-send-button,
.support-chat-send-button,
#sendMessage {
  background: linear-gradient(145deg, #303236, #18191b) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  fill: #ffffff !important;
  transition: all 0.3s ease !important;
}

.ai-chat-send-button:hover,
.support-chat-send-button:hover,
#sendMessage:hover,
.quick-msg-btn:hover {
  background: linear-gradient(145deg, #404248, #202124) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  fill: #ffffff !important;
  transform: none !important;
}

/* AI/Support Avatar Badge in Chat */
.ai-chat-avatar.ai-chat-avatar-ai,
.support-chat-avatar.support-chat-avatar-ai {
  background: linear-gradient(145deg, #303236, #18191b) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Universal All Links Hover, Focus & Active - SILVER */
a:hover,
a:focus,
a:active,
a:visited:hover {
  color: #c0c0c0 !important;
  text-decoration: none;
}

/* Header Navbar Links - Silver Active and Hover (No bulky boxes, no lines) */
.navbar-default .navbar-nav>li>a {
  color: #ffffff;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transition: color 0.2s ease-in-out;
}

.navbar-default .navbar-nav>li.active>a,
.navbar-default .navbar-nav>li.active a,
.navbar-default .navbar-nav>li:focus a,
.navbar-default .navbar-nav>li:hover a,
.navbar-default .navbar-nav>li:hover>a,
.navbar-default .navbar-nav>li:focus>a,
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:focus,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav li:hover a,
.navbar-default .navbar-nav li.active a,
.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus {
  color: #c0c0c0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Header Top Widgets & Search */
.header_widgets a:hover,
.header_widgets a:focus,
.header_search button:hover,
#search_toggle:hover {
  color: #c0c0c0 !important;
}

/* User login dropdown in header */
.user_login>ul>li a:hover,
.user_login>ul>li a:focus,
.user_login>ul>li.active a,
.user_login ul.dropdown-menu li a:hover,
.user_login ul.dropdown-menu li a:focus,
.header_style2 .navbar-nav>li>.dropdown-menu a:hover,
.header_style2 .navbar-default .navbar-nav li:hover .dropdown-menu li a:hover,
.header_style2 .dropdown-menu>.active>a,
.header_style2 .dropdown-menu>.active>a:focus,
.header_style2 .dropdown-menu>.active>a:hover,
.header_style2 .dropdown-menu>li>a:focus,
.header_style2 .dropdown-menu>li>a:hover {
  color: #c0c0c0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Footer Links & All Sub-links - SILVER on Hover & Focus */
.footer-top a:hover,
.footer-top a:focus,
.footer-top ul li a:hover,
.footer-top ul li a:focus,
.footer-top ul li a:hover::after,
.footer-bottom a:hover,
.footer-bottom a:focus,
.footer_widget a:hover,
.footer_widget a:focus,
.footer_widget ul li a:hover,
.footer_widget ul li a:focus,
.footer_widget ul li a:hover i,
.footer_widget ul li a i:hover,
.copy-right a:hover,
.copy-right a:focus,
#footer_content a:hover,
#footer_content a:focus {
  color: #c0c0c0 !important;
  text-decoration: none;
}

.btn-link:hover,
.btn-link:focus,
.car-title-m h6 a:hover,
.featured-car-content>h6 a:hover,
.product-listing-content h5 a:hover,
.dealers_listing .dealer_info h5 a:hover,
.services_info h4 a:hover,
.dealer_contact_info a:hover,
.blog-content h5 a:hover,
.blog-info-box li a:hover,
.popular_post_title a:hover,
.categories_list ul li a:hover,
.categories_list ul li a:hover:after,
.article_meta ul li a:hover,
.articale_header h2 a:hover,
.my_vehicles_list ul.vehicle_listing li a:hover,
.get-intouch a:hover,
.get-intouch a:focus,
.contact-info a:hover,
.contact-info a:focus,
.contact_detail li a:hover,
.social-follow a:hover,
.social-follow a:focus,
.social-follow.footer-social a:hover,
.team_more_info p a:hover,
.team_more_info ul li a:hover,
.tag_list ul li a:hover,
.share_article ul li:hover,
.share_article ul li a:hover,
.blog-info-box .share_article:hover ul li a:hover,
.dark-overlay a:hover,
.fun-facts-section a:hover,
.view-more-link:hover,
.pagination ul li a:hover,
.profile_nav ul li.active a,
.profile_nav ul li a:hover,
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover,
.nav-tabs>li>a:hover,
.nav-tabs>li>a:focus {
  color: #c0c0c0 !important;
  text-decoration: none;
}

/* Prices & Accents */
.price,
.pricing_info .price,
.listing_detail_head .price_info p,
.text-primary,
.widget_heading i,
.main_features ul li p,
.compare_info table td i,
.compare_info table th i,
#accessories i,
.inventory_info_list ul li i,
.about_info .icon_box,
.control-label span,
.angle_arrow i,
.error_text_m h2,
.search_btn {
  color: #000000;
  fill: #000000;
}

/* Primary Background Accents (Pure Black) */
.btn,
.online-payment-option-button,
#onlinePaymentOptionBtn,
#quick-Message,
.customBgColor,
.profile-change-link a,
.album-item,
.download-btn--primary,
.download-btn--outline,
.featured-icon,
.owl-pagination .owl-page.active,
#testimonial-slider .owl-pagination .owl-page.active,
.pagination ul li.current,
.pagination ul li:hover,
.btn.outline:hover,
.btn.outline:focus,
.share_article ul li:hover,
.label-icon,
.label_icon,
.navbar-nav>li>.dropdown-menu,
.add_compare .checkbox,
.search_other,
.vs,
.td_divider,
.search_other_inventory,
#other_info,
.main_bg,
.slider .slider-handle,
.slider .slider-selection,
.primary-bg {
  background: #000000 none repeat scroll 0 0;
  fill: #000000;
}

.btn:hover,
.btn:focus,
.online-payment-option-button:hover,
.online-payment-option-button:focus,
#onlinePaymentOptionBtn:hover,
#onlinePaymentOptionBtn:focus,
.search_other:hover,
#other_info:hover {
  background-color: #333333;
  fill: #333333;
}

/* Dedicated Visible Fun Facts Circular DIVs */
.fun-facts-m {
  background: rgba(30, 31, 35, 0.95) !important;
  background: linear-gradient(145deg, #303236, #18191b) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
  border-radius: 50% !important;
}

.fun-facts-m:hover {
  background: linear-gradient(145deg, #404248, #202124) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.fun-facts-m h2,
.fun-facts-m h2 .fa,
.fun-facts-m h2 .count-number {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.fun-facts-m p {
  color: #e5e7eb !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Dedicated Back to Top Button Matching fun-facts-m */
.back-top a {
  background: rgba(30, 31, 35, 0.95) !important;
  background: linear-gradient(145deg, #303236, #18191b) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.back-top a:hover,
.back-top a:focus {
  background: linear-gradient(145deg, #404248, #202124) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Dedicated Notification Dropdown Buttons Matching Back to Top Button */
.mark-read-btn,
#view-all-bookings,
.notification-header .mark-read-btn,
.notification-footer #view-all-bookings,
.notification_dropdown .mark-read-btn,
.notification_dropdown #view-all-bookings {
  background: rgba(30, 31, 35, 0.95) !important;
  background: linear-gradient(145deg, #303236, #18191b) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease !important;
}

.mark-read-btn:hover,
.mark-read-btn:focus,
#view-all-bookings:hover,
#view-all-bookings:focus,
.notification-header .mark-read-btn:hover,
.notification-header .mark-read-btn:focus,
.notification-footer #view-all-bookings:hover,
.notification-footer #view-all-bookings:focus,
.notification_dropdown .mark-read-btn:hover,
.notification_dropdown .mark-read-btn:focus,
.notification_dropdown #view-all-bookings:hover,
.notification_dropdown #view-all-bookings:focus {
  background: linear-gradient(145deg, #404248, #202124) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

.mark-read-btn:active,
#view-all-bookings:active,
.notification-header .mark-read-btn:active,
.notification-footer #view-all-bookings:active,
.notification_dropdown .mark-read-btn:active,
.notification_dropdown #view-all-bookings:active {
  transform: translateY(0) !important;
}

/* Borders */
#quick-Message,
.customBgColor,
.profile-change-link a,
.album-item,
.download-btn--primary,
.download-btn--outline,
.social-follow.footer-social a:hover,
.page-header,
.tag_list ul li a:hover,
.btn.outline,
.share_article ul li,
blockquote,
.social-follow a:hover,
.radio label:before,
.owl-buttons div,
.about_info .icon_box {
  border-color: #000000;
}

/* Dedicated Visible Burger / Mobile Menu Toggle on Black Navbar */
.navbar-default .navbar-toggle,
#menu_slide {
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background-color: transparent !important;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.navbar-default .navbar-toggle .icon-bar,
#menu_slide .icon-bar {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus,
#menu_slide:hover,
#menu_slide:focus {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}

.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar,
#menu_slide:hover .icon-bar,
#menu_slide:focus .icon-bar {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* Recent Tabs (New Cars & View More) - Black Theme */
.recent-tab .nav.nav-tabs li.active a,
.recent-tab.upside-down .nav.nav-tabs li.active a,
.recent-tab .nav.nav-tabs li.active a:focus,
.recent-tab .nav.nav-tabs li.active a:hover,
.recent-tab.upside-down .nav.nav-tabs li.active a:focus,
.recent-tab.upside-down .nav.nav-tabs li.active a:hover {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #ffffff !important;
}

.recent-tab .nav.nav-tabs li a:hover,
.recent-tab.upside-down .nav.nav-tabs li a:hover {
  background: #333333 !important;
  background-color: #333333 !important;
  color: #ffffff !important;
}

.recent-tab .nav.nav-tabs li.active::after {
  border-color: #000000 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) !important;
}

.recent-tab.upside-down .nav.nav-tabs li.active::after {
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #000000 rgba(0, 0, 0, 0) !important;
}

.vehicle-preview-modal-close:hover {
  color: #000000 !important;
}

.notification-item .notification-icon,
.listing_detail_wrap .nav-tabs>li.active a,
.listing_detail_wrap .nav-tabs>li:hover a,
.step-number {
  background: #000000 !important;
  color: #ffffff !important;
}

.td_divider:after {
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #000000;
}

.navbar-nav>li>.dropdown-menu li {
  border-bottom: 1px solid #333;
}

@media (max-width: 767px) {

  .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,
  .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
    color: #c0c0c0 !important;
    background: none !important;
    background-color: transparent !important;
  }
}