
/* ========================================================
   REBRANDED ARVANTIX USER DASHBOARD THEME
   Strict 3-Color Palette:
   - Primary Crimson Red: #d32f2f (Hover: #b71c1c)
   - Deep Wine / Burgundy: #180407
   - Neutral White: #ffffff
   ======================================================== */

/* 1. Header Top Navbar */
.header-container,
.header-container .navbar {
    background-color: #180407 !important;
    border-bottom: 1px solid rgba(211, 47, 47, 0.25) !important;
}

/* 2. All Dark / Primary / Action Buttons Across Dashboard */
.btn-dark,
a.btn-dark,
button.btn-dark,
.btn-primary,
a.btn-primary,
button.btn-primary,
.btn-custom,
#accountNo-btn,
#confirm-btn,
#withdraw-btn,
#cashBtn,
.pay-now,
.btn-outline-dark.pay-now {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px -10px rgba(211, 47, 47, 0.59) !important;
}

.btn-dark:hover,
a.btn-dark:hover,
button.btn-dark:hover,
.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-custom:hover,
#accountNo-btn:hover,
#confirm-btn:hover,
#withdraw-btn:hover,
#cashBtn:hover,
.pay-now:hover,
.btn-outline-dark.pay-now:hover {
    background-color: #b71c1c !important;
    border-color: #b71c1c !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px -10px rgba(183, 28, 28, 0.7) !important;
}

/* 3. Outline Buttons (e.g., + Fund Account) */
.btn-outline-primary {
    color: #d32f2f !important;
    border-color: #d32f2f !important;
    background-color: transparent !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #ffffff !important;
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
    box-shadow: 0 10px 20px -10px rgba(211, 47, 47, 0.5) !important;
}

/* 4. Company Account Card Header & Badges */
.card .card-header.bg-primary,
.card-header.bg-primary,
.bg-primary,
.badge-primary,
.badge.badge-primary,
.badge.bg-primary,
.summary-average .badge-primary {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
    color: #ffffff !important;
}
.summary-average .badge-primary:hover,
.badge-primary:hover {
    background-color: #b71c1c !important;
}

/* 5. Summary Widget Icons & Items */
.widget-four .order-summary .summary-list .summery-info .w-icon {
    background-color: rgba(211, 47, 47, 0.1) !important;
    color: #d32f2f !important;
}
.widget-four .order-summary .summary-list .summery-info .w-icon svg {
    color: #d32f2f !important;
}

/* 6. Dashboard Menu Items (Credit Cards, Checking, etc.) */
.menu-item:hover {
    background-color: #d32f2f !important;
    color: #ffffff !important;
    border-color: #d32f2f !important;
}
.menu-item:hover svg,
.menu-item:hover i,
.menu-item:hover .menu-label {
    color: #ffffff !important;
    stroke: #ffffff !important;
}
.menu-item svg {
    stroke: #180407;
}

/* 7. Deposit / Fund Page */
.widget-account-invoice-three .widget-heading {
    background: #180407 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-bottom: 2px solid #d32f2f !important;
}
.widget-account-invoice-three .alert.alert-info,
.alert-info {
    background-color: #180407 !important;
    border-left: 4px solid #d32f2f !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    color: #ffffff !important;
}
.alert-info i,
.widget-account-invoice-three .alert.alert-info i {
    color: #d32f2f !important;
}

/* 8. Form Inputs & Select Focus States */
.form-control:focus,
input.form-control:focus,
select.form-control:focus {
    border-color: #d32f2f !important;
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25) !important;
}

/* 9. Sidebar Active & Hover States */
#sidebar ul.menu-categories li.menu > .dropdown-toggle[data-active="true"],
#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] {
    background-color: rgba(211, 47, 47, 0.12) !important;
    color: #d32f2f !important;
}
#sidebar ul.menu-categories li.menu > .dropdown-toggle[data-active="true"] svg,
#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] svg {
    color: #d32f2f !important;
}
#sidebar ul.menu-categories ul.submenu li > [data-active="true"] {
    color: #d32f2f !important;
}
#sidebar ul.menu-categories ul.submenu li > [data-active="true"]:before {
    background-color: #d32f2f !important;
}
#sidebar ul.menu-categories li.menu:hover > a {
    color: #d32f2f !important;
}
#sidebar ul.menu-categories li.menu:hover > a svg {
    color: #d32f2f !important;
}

/* 10. Profile Page (Screenshot 1) */
.user-profile .widget-content-area h3:after {
    background: #d32f2f !important;
}
.user-profile .text-center.user-info p,
.user-profile .user-info p {
    color: #180407 !important;
    font-weight: 700 !important;
}
.user-profile .widget-content-area .edit-profile {
    background: #d32f2f !important;
    background-color: #d32f2f !important;
    box-shadow: 0 10px 15px rgba(211, 47, 47, 0.3) !important;
}

/* Profile Account Settings Vertical Tabs (replaces teal green with brand red) */
.rounded-vertical-pills-icon .nav-pills .nav-link.active,
.rounded-vertical-pills-icon .nav-pills .show > .nav-link,
#rounded-vertical-pills-tab .nav-link.active {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
    color: #ffffff !important;
    box-shadow: 0px 5px 15px 0px rgba(211, 47, 47, 0.4) !important;
}
.rounded-vertical-pills-icon .nav-pills .nav-link.active svg,
.rounded-vertical-pills-icon .nav-pills .show > .nav-link svg,
#rounded-vertical-pills-tab .nav-link.active svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}
.rounded-vertical-pills-icon .nav-pills .nav-link:hover {
    border-color: #d32f2f !important;
    color: #d32f2f !important;
}
.rounded-vertical-pills-icon .nav-pills .nav-link:hover svg {
    color: #d32f2f !important;
    stroke: #d32f2f !important;
}

/* Profile Toggle Switches (replaces blue with brand red) */
.switch.s-primary .slider:before {
    background-color: #ffffff !important;
}
.switch.s-primary input:checked + .slider {
    background-color: #d32f2f !important;
}
.switch.s-primary input:focus + .slider {
    box-shadow: 0 0 1px #d32f2f !important;
}

/* 11. Mailbox / Messages Page (Screenshot 2) */
.tab-title #btn-compose-mail,
#btn-compose-mail {
    background: #d32f2f !important;
    background-color: #d32f2f !important;
    color: #ffffff !important;
    box-shadow: 0px 5px 15px 0px rgba(211, 47, 47, 0.4) !important;
}
.tab-title #btn-compose-mail:hover,
#btn-compose-mail:hover {
    background: #b71c1c !important;
    background-color: #b71c1c !important;
    box-shadow: 0px 7px 18px 0px rgba(183, 28, 28, 0.5) !important;
}
.tab-title .nav-pills .nav-link.active,
.tab-title .nav-pills .show > .nav-link,
.mail-categories-container .nav-pills .nav-link.active {
    color: #d32f2f !important;
    fill: rgba(211, 47, 47, 0.15) !important;
    background-color: transparent !important;
}
.tab-title .nav-pills .nav-link.active svg,
.tab-title .nav-pills .show > .nav-link svg,
.mail-categories-container .nav-pills .nav-link.active svg {
    color: #d32f2f !important;
    stroke: #d32f2f !important;
}
.tab-title .nav-pills a.nav-link:hover,
.tab-title .nav-pills a.nav-link:hover svg {
    color: #d32f2f !important;
    stroke: #d32f2f !important;
}
#composeMailModal .btn-success,
.compose-content .btn-success {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
    color: #ffffff !important;
}
#composeMailModal .btn-success:hover,
.compose-content .btn-success:hover {
    background-color: #b71c1c !important;
    border-color: #b71c1c !important;
}
