/* Override hardcoded red colors with dark blue theme */
.go-up {
    background: #274abb !important;
}

.section-title h2 {
    color: #274abb !important;
}

.section-title:before {
    background-color: #274abb !important;
}

.btn-default.btn-theme-colored2:hover,
.text-theme-colored2 {
    background-color: #274abb !important;
    color: #274abb !important;
}

.btn-dark.btn-theme-colored {
    background-color: #274abb !important;
}

.recently .homes-content .homes-list li,
.recently .homes-content .homes-list li i {
    color: #274abb !important;
}

.portfolio .homes-content .homes-list li,
.portfolio .homes-content .homes-list li i {
    color: #274abb !important;
}

.welcome-title h2 span {
    color: #274abb !important;
}

.welcome .popup-youtube {
    color: #274abb !important;
}

.services-home .bg-base {
    background: #274abb !important;
}

.services-home a.text-base {
    color: #274abb !important;
}

.blog-section .news-item a:hover h3 {
    color: #274abb !important;
}

.blog-section .news-link {
    color: #274abb !important;
}

.testimonials .test-1 p::before,
.testimonials .test-1 h3 {
    color: #274abb !important;
}

.counterup .countr .fa {
    color: #274abb !important;
}

.page-item.active .page-link {
    background: #274abb !important;
    border-color: #274abb !important;
}

.page-link {
    color: #274abb !important;
}

/* Fix Submit Review button - ALL STATES */
.btn.btn-primary {
    background-color: #274abb !important;
    border-color: #274abb !important;
    color: white !important;
}

.btn.btn-primary:hover {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

.btn.btn-primary:focus,
.btn.btn-primary:active {
    background-color: #274abb !important;
    border-color: #274abb !important;
    color: white !important;
}

/* Fix Admin Only button - ALL STATES */
.button.border,
a.button.border {
    background-color: #274abb !important;
    border-color: #274abb !important;
    color: white !important;
}

.button.border:hover,
a.button.border:hover {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

.button.border:focus,
.button.border:active,
a.button.border:focus,
a.button.border:active {
    background-color: #274abb !important;
    border-color: #274abb !important;
    color: white !important;
}

/* Additional button overrides */
.btn-secondary {
    background: #274abb !important;
    border-color: #274abb !important;
}

.btn_1,
a.btn_1,
#login .btn_1 {
    background: #274abb !important;
    border-color: #274abb !important;
}

/* Ensure all primary buttons use dark blue */
button[type="submit"],
input[type="submit"],
.btn-primary,
.button-primary {
    background-color: #274abb !important;
    border-color: #274abb !important;
    color: white !important;
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.btn-primary:hover,
.button-primary:hover {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

/* NAVBAR/HEADER ELEMENTS AND BUTTONS - DARK BLUE THEME (#274abb) */
.header-top {
    background: #274abb !important;
}

#main-menu ul li a:hover {
    background: #274abb !important;
}

#main-menu .dropdown-menu a:hover {
    background: #274abb !important;
}

#navigation.style-1 .current {
    color: #274abb !important;
}

#navigation.style-1 ul li:hover {
    background: #274abb !important;
}

#navigation.style-1 ul li:hover > a {
    color: #fff !important;
}

/* Header search elements */
.bloq-search input[type="text"] {
    border: 1px solid #274abb !important;
}

.bloq-search input[type="submit"] {
    background: #274abb !important;
}

/* Navigation dropdown styling */
#navigation ul ul li:hover {
    background-color: #274abb !important;
}

/* Mobile menu styling */
.mm-menu .mm-listview > li:hover {
    background: rgba(39, 74, 187, 0.1) !important;
}

/* Sticky header elements */
#header.cloned.sticky #navigation.style-1 ul li:hover > a {
    background: #274abb !important;
}

/* ALL BUTTONS INCLUDING SUBMIT REVIEW - SAME THEME AS NAVBAR */
.btn.btn-primary,
button[type="submit"],
input[type="submit"],
.btn-primary,
.button-primary,
button[name="add_review"],
.button.border,
a.button.border {
    background-color: #274abb !important;
    border-color: #274abb !important;
    color: white !important;
}

.btn.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.btn-primary:hover,
.button-primary:hover,
button[name="add_review"]:hover,
.button.border:hover,
a.button.border:hover {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

/* Override any conflicting color themes */
.btn-danger,
.btn.btn-danger {
    background-color: #274abb !important;
    border-color: #274abb !important;
    color: white !important;
}

.btn-danger:hover,
.btn.btn-danger:hover {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

/* FOOTER ELEMENTS - Updated styling */
/* Social media icons - keep blue */
.netsocials li a[style*="#e4405f"] {
    color: #0098ef !important;
}

.netsocials li a[style*="#ff0000"] {
    color: #0098ef !important;
}

/* FOOTER CONTACT ICONS - Change to WHITE */
.first-footer .contactus ul li .fa,
.first-footer .contactus ul li i {
    color: white !important;
}

/* Specific contact icons */
.fa-map-marker,
.fa-phone,
.fa-envelope,
.fa-location-arrow {
    color: white !important;
}

/* Footer section underlines - DARK BLUE */
.first-footer .newsletters h3::after,
.first-footer .navigation h3::after,
.first-footer .netabout h3::after,
.first-footer .widget h3::after,
.first-footer .contactus h3::after {
    background-color: #274abb !important;
}

/* Footer navigation links hover - DARK BLUE */
.navigation ul li a:hover {
    color: #274abb !important;
}

/* Footer buttons - DARK BLUE */
.first-footer .btn {
    background: #274abb !important;
}

/* Social media icons - keep as they are or change to dark blue if needed */
.netsocials li a {
    color: #274abb !important;
}

/* Keep Facebook icon WHITE - All variations */
.netsocials li a .fa-facebook,
.first-footer .netsocials a .fa-facebook,
.netsocials li a .fa-facebook-f,
.first-footer .netsocials a .fa-facebook-f,
.netsocials li a .fab.fa-facebook,
.first-footer .netsocials a .fab.fa-facebook,
.netsocials li a .fab.fa-facebook-f,
.first-footer .netsocials a .fab.fa-facebook-f {
    color: white !important;
}

.netsocials li a .fa-facebook:hover,
.first-footer .netsocials a .fa-facebook:hover,
.netsocials li a .fa-facebook-f:hover,
.first-footer .netsocials a .fa-facebook-f:hover,
.netsocials li a .fab.fa-facebook:hover,
.first-footer .netsocials a .fab.fa-facebook:hover,
.netsocials li a .fab.fa-facebook-f:hover,
.first-footer .netsocials a .fab.fa-facebook-f:hover {
    color: white !important;
    background: #3b5998 !important;
}

/* ALL OTHER THEME ELEMENTS - DARK BLUE */
.go-up {
    background: #274abb !important;
}

.section-title h2 {
    color: #274abb !important;
}

.section-title:before {
    background-color: #274abb !important;
}

.btn-default.btn-theme-colored2:hover,
.text-theme-colored2 {
    background-color: #274abb !important;
    color: #274abb !important;
}

.btn-dark.btn-theme-colored {
    background-color: #274abb !important;
}

.recently .homes-content .homes-list li,
.recently .homes-content .homes-list li i {
    color: #274abb !important;
}

.portfolio .homes-content .homes-list li,
.portfolio .homes-content .homes-list li i {
    color: #274abb !important;
}

.welcome-title h2 span {
    color: #274abb !important;
}

.welcome .popup-youtube {
    color: #274abb !important;
}

.services-home .bg-base {
    background: #274abb !important;
}

.services-home a.text-base {
    color: #274abb !important;
}

.blog-section .news-item a:hover h3 {
    color: #274abb !important;
}

.blog-section .news-link {
    color: #274abb !important;
}

.testimonials .test-1 p::before,
.testimonials .test-1 h3 {
    color: #274abb !important;
}

.counterup .countr .fa {
    color: #274abb !important;
}

.page-item.active .page-link {
    background: #274abb !important;
    border-color: #274abb !important;
}

.page-link {
    color: #274abb !important;
}

/* DASHBOARD AND MY-LISTINGS SPECIFIC STYLES */
/* Dashboard navigation active states */
.user-profile-box .detail ul li a.active,
.dropdown-content a.active {
    background-color: #274abb !important;
    color: white !important;
}

/* Dashboard navigation hover states */
.user-profile-box .detail ul li a:hover,
.dropdown-content a:hover {
    background-color: #274abb !important;
    color: white !important;
}

/* Edit buttons in my-listings table */
.actions a.edit,
a.edit {
    background-color: #274abb !important;
    color: white !important;
    border: 1px solid #274abb !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
}

.actions a.edit:hover,
a.edit:hover {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

/* Dashboard dropdown button */
.dropbtn {
    background-color: #274abb !important;
    color: white !important;
    border: none !important;
}

.dropbtn:hover {
    background-color: #1e3a8a !important;
}

/* Dashboard mobile menu */
.dashboard_navigationbar .dropdown {
    background-color: #274abb !important;
}

/* Table header styling */
.my-properties table thead th {
    background-color: #274abb !important;
    color: white !important;
}

/* Status indicators */
.status .active {
    background-color: #274abb !important;
    color: white !important;
    padding: 3px 8px !important;
    border-radius: 3px !important;
}

/* Dashboard sidebar active user section */
.user-profile-box .active-user h2 {
    color: #274abb !important;
}

/* Navigation menu current/active items */
#navigation.style-1 .current,
#navigation.style-1 ul li.current > a {
    color: #274abb !important;
}

/* Ensure all dashboard buttons use dark blue */
.dashboard-bd .btn,
.user-dash .btn,
.user-dash2 .btn {
    background-color: #274abb !important;
    border-color: #274abb !important;
    color: white !important;
}

.dashboard-bd .btn:hover,
.user-dash .btn:hover,
.user-dash2 .btn:hover {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

/* Property listing action buttons */
.myelist .actions a {
    color: #274abb !important;
}

.myelist .actions a:hover {
    color: #1e3a8a !important;
}

/* Ensure pagination and other interactive elements */
.table-responsive .actions i {
    color: #274abb !important;
}

/* Dashboard header elements */
.db-top-header {
    background-color: #274abb !important;
}

/* User menu styling */
.header-user-menu ul li a:hover {
    background-color: #274abb !important;
    color: white !important;
}