/* =========================================================
   DMD GOLD PROSPERITY PRIVATE LIMITED - Maroon & Gold Theme Override
   Primary Maroon : #682c3e
   Primary Gold   : #C9A227
   Cream BG       : #f1d197 (set in custom.css with bg.png)
   ========================================================= */

/* ---------- HEADER ---------- */
#header .header-body {
    position: relative;
    overflow: hidden;
    background: #f5c518 !important;
    background-color: #f5c518 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

#header .header-body::before {
    content: "" !important;
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block !important;
    background: url("../img/appimages/Header.png") center bottom / cover no-repeat !important;
    pointer-events: none;
}

#header .header-body::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block !important;
    background: rgba(104, 44, 62, 0.08);
    pointer-events: none;
}

/* Logo / icon area text label */
#iconimage::after {
    color: #c9a227 !important;
}

/* Hamburger icon lines - dark maroon visible on golden header */
.header-btn-collapse-nav .hamburguer span {
    background-color: #682c3e !important;
}
.header-btn-collapse-nav .close span {
    background-color: #682c3e !important;
}

/* Desktop nav links - dark maroon on golden header */
#header .header-nav-main nav > ul > li > a {
    color: #682c3e !important;
    font-weight: 600 !important;
}
#header .header-nav-main nav > ul > li > a:hover,
#header .header-nav-main nav > ul > li.open > a,
#header .header-nav-main nav > ul > li:hover > a {
    color: #4a1a27 !important;
}

/* ---------- NAV BAR STRIP ---------- */
header,
.nav-bg-white,
.headImg,
.topDiv6 {
    background: transparent !important;
    background-image: none !important;
}
#header .header-body {
    position: relative;
    overflow: hidden;
    background: #f5c518 !important;
    background-color: #f5c518 !important;
}
#header .header-body::before,
#header .header-body::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    display: block !important;
    pointer-events: none;
}
#header .header-body::before {
    z-index: 1;
    background: url("../img/appimages/Header.png") center bottom / cover no-repeat !important;
}
#header .header-body::after {
    z-index: 2;
    background: rgba(104, 44, 62, 0.08);
}
#header .header-body > * {
    position: relative;
    z-index: 3;
}
.headImg,
.topDiv6 {
    background: transparent !important;
    background-image: none !important;
}
header {
    padding: 5px 0 !important;
}
.topDiv6 {
    border-top: 0 !important;
    border-bottom: 0 !important;
}
.topDiv6 a,
.topDiv6 span,
#header .header-nav-main nav > ul > li > a,
#header .header-nav-main nav > ul > li.open > a,
#header .header-nav-main nav > ul > li:hover > a {
    color: #682c3e !important;
}
.header-btn-collapse-nav {
    background: transparent !important;
    color: #682c3e !important;
    border-color: transparent !important;
}

.sidebar-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
}
.sidebar-auth > span {
    display: block;
    width: 100%;
}
.sidebar-auth > span > a {
    display: block;
    width: 100%;
    text-align: center;
}
.sidebar-login-btn,
.sidebar-logout-btn {
    margin: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.mobile-list-nav > li > a,
.mobile-list-nav > li > a.color-white,
.mobile-list-nav > li > a.color-navv,
.menu-link {
    color: #fff !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}
.mobile-list-nav > li:hover > a,
.mobile-list-nav > li > a:hover,
.mobile-list-nav > li > a.activee,
.mobile-list-nav > li.active > a,
.menu-link:hover,
.menu-link.active {
    background: #c9a227 !important;
    color: #682c3e !important;
}

/* ---------- MOBILE SIDE NAV ---------- */
#mobile-nav {
    background: #682c3e !important;
}

/* ---------- HEADER LOGIN / LOGOUT BUTTONS ---------- */
#openaccountbtn .btn,
#loginbtn .btn,
.sidebar-login-btn,
.sidebar-logout-btn,
.btn-warning {
    background: #c9a227 !important;
    background-image: linear-gradient(to bottom, #ebbf44, #e9ba41, #e2a937, #e0a333, #dfa132) !important;
    color: #682c3e !important;
    border-color: #d59b2f !important;
}
#openaccountbtn .btn:hover,
#loginbtn .btn:hover,
#openaccountbtn .btn:focus,
#loginbtn .btn:focus,
.sidebar-login-btn:hover,
.sidebar-logout-btn:hover,
.sidebar-login-btn:focus,
.sidebar-logout-btn:focus,
.btn-warning:hover,
.btn-warning:focus {
    background: #c9a227 !important;
    background-image: linear-gradient(to bottom, #ebbf44, #e9ba41, #e2a937, #e0a333, #dfa132) !important;
    color: #682c3e !important;
    border-color: #d59b2f !important;
}

/* ---------- SWIPER / TAB BORDER ---------- */
#my-tab {
    border: 2px solid #682c3e !important;
}
.liverateTable {
    border: 2px solid #c9a227 !important;
}
.liverateTable,
table[style*="Box3.png"],
table[style*="background-image: linear-gradient(to bottom, #ebbf44"],
.liverateTable [style*="color:#000"],
.liverateTable [style*="color: #000"],
table[style*="Box3.png"] [style*="color:#000"],
table[style*="Box3.png"] [style*="color: #000"],
table[style*="background-image: linear-gradient(to bottom, #ebbf44"] [style*="color:#000"],
table[style*="background-image: linear-gradient(to bottom, #ebbf44"] [style*="color: #000"]
/* #CurrentBuyRate1,
#CurrentBuyRate2,
#CurrentSellRate1,
#CurrentSellRate2,
.CurrentBuyRate1,
.CurrentBuyRate2,
.CurrentSellRate1,
.CurrentSellRate2 { */ {
    color: #000 !important;
}
.liverateTable [style*="border-right: 1px solid #000"],
table[style*="background-image: linear-gradient(to bottom, #ebbf44"] [style*="border-right: 1px solid #000"] {
    border-right-color: #000 !important;
}
.live-rates-page #header + .container > .row > .col-md-10 > table,
.live-rates-page #header + .container > .row > .col-md-10 > table table,
.live-rates-page #header + .container > .row > .col-md-10 > table [style*="color:#000"],
.live-rates-page #header + .container > .row > .col-md-10 > table [style*="color: #000"] {
    color: #000 !important;
}
.live-rates-page #header + .container > .row > .col-md-10 > table [style*="border-right: 1px solid #000"] {
    border-right-color: #000 !important;
}

/* ---------- BUY/SELL SLIDE (swiper-slideTrending) ---------- */
.swiper-slideTrending {
    background: #682c3e !important;
}

/* ---------- SWIPER PAGINATION BULLETS ---------- */
.swiper-pagination1.swiper-pagination-clickable .swiper-pagination-bullet {
    background: #682c3e !important;
}

/* ---------- BUTTONS ---------- */
.Btn,
.Btn1,
.Btn2,
.Btn3 {
    background: #f1e27b !important;
    background-image: linear-gradient(to bottom, #ebbf44, #e9ba41, #e2a937, #e0a333, #dfa132) !important;
    color: #000 !important;
}
.Btn:hover,
.Btn:focus,
.Btn1:hover,
.Btn1:focus,
.Btn2:hover,
.Btn2:focus,
.Btn3:hover,
.Btn3:focus {
    background: #f1e27b !important;
    background-image: linear-gradient(to bottom, #ebbf44, #e9ba41, #e2a937, #e0a333, #dfa132) !important;
    color: #000 !important;
}

/* Quick-amount buttons (Btn4) */
.Btn4 {
    background: #f1e27b !important;
    background-image: linear-gradient(to bottom, #ebbf44, #e9ba41, #e2a937, #e0a333, #dfa132) !important;
    color: #000 !important;
    font-weight: 700 !important;
    border-radius: 5px !important;
}
.Btn4:hover,
.Btn4:focus {
    background: #f1e27b !important;
    background-image: linear-gradient(to bottom, #ebbf44, #e9ba41, #e2a937, #e0a333, #dfa132) !important;
    color: #000 !important;
}

/* Base btn:hover override */
.btn:hover,
.btn:focus {
    color: inherit !important;
}

/* ---------- TABLE HEADERS (rate tables) ---------- */
.headertable1 {
    background-image: linear-gradient(to right, #682c3e, #682c3e) !important;
}
.headertable3 {
    background-image: linear-gradient(to right, #682c3e, #682c3e) !important;
}

/* goldd table (live rate table) */
table.goldd {
    background-image: linear-gradient(to right, #682c3e, #682c3e) !important;
}
table.res_mob_font_width {
    background-image: linear-gradient(to right, #682c3e, #682c3e) !important;
}

/* ---------- PRICING SECTION ---------- */
section.pricing {
    background-image: linear-gradient(to right, #682c3e, #682c3e) !important;
}

/* ---------- jQuery Mobile APP PAGES ---------- */
.ui-content {
    border: 2px solid #c9a227 !important;
}
.pageHeaders {
    background: #682c3e !important;
    background: -moz-linear-gradient(left, #682c3e 0%, #8a3a52 50%, #682c3e 100%) !important;
    background: -webkit-linear-gradient(left, #682c3e 0%, #8a3a52 50%, #682c3e 100%) !important;
    background: linear-gradient(to right, #682c3e 0%, #8a3a52 50%, #682c3e 100%) !important;
}

/* ---------- HEADER TOP STRIP ---------- */
#header .header-top {
    background: #5a1f2e !important;
}

/* ---------- FOOTER LINKS ---------- */
footer a:hover {
    color: #c9a227 !important;
}

/* ---------- ACTIVE NAV INDICATOR ---------- */
#header .header-nav.header-nav-top-line .header-nav-main nav > ul > li > a:before {
    background: #c9a227 !important;
}

/* ---------- MOBILE EXPANDED NAV DROPDOWN ---------- */
@media (max-width: 991px) {
    #header .header-nav-main nav.collapse.show,
    #header .header-nav-main nav.show,
    #header .header-nav-main nav:not(.closed) {
        background: #682c3e !important;
        padding: 10px 0 !important;
    }
    #header .header-nav-main nav > ul > li > a {
        color: #fff !important;
        font-weight: 600 !important;
    }
    #header .header-nav-main nav > ul > li > a:hover {
        color: #c9a227 !important;
        background: rgba(0, 0, 0, 0.2) !important;
    }
}

/* ---------- CONTENT TEXT ON DARK / IMAGE BACKGROUNDS ---------- */
.headingTop,
.main .section .Div_bg,
.main .section .Div_bg h1,
.main .section .Div_bg h2,
.main .section .Div_bg h3,
.main .section .Div_bg h4,
.main .section .Div_bg h5,
.main .section .Div_bg h6,
.main .section .Div_bg p,
.main .section .Div_bg li,
.main .section .Div_bg span,
.main .section .Div_bg strong,
.main .section .Div_bg label,
.main .section .Div_bg a,
.main .section .Div_bg [style*="color:#000"],
.main .section .Div_bg [style*="color: #000"],
.main .section .Div_bg [style*="color:black"],
.main .section .Div_bg [style*="color: black"] {
    color: #fff !important;
}

.main .section .Div_bg {
    box-sizing: border-box;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.main .section .Div_bg > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.main .section .Div_bg .appear-animation {
    opacity: 1 !important;
}

.main .section .Div_bg a:hover {
    color: #c9a227 !important;
}

/* ---------- FOOTER / MENU LINK CONTRAST ---------- */
#header .header-nav-main nav > ul > li > a,
#header .header-nav-main nav > ul > li > a:focus,
#header .header-nav-main nav > ul > li > a:active {
    color: #fff !important;
}

#header .header-nav-main nav > ul > li > a:hover,
#header .header-nav-main nav > ul > li.open > a,
#header .header-nav-main nav > ul > li:hover > a {
    color: #c9a227 !important;
}

#footer,
#footer p,
#footer li,
#footer a,
#footer strong,
#footer .text-black,
#footer .text-color-light,
#footer .footer-copyright p,
#footer .footer-copyright a {
    color: #fff !important;
}

#footer,
#footer .footer-copyright,
#footer .container,
#footer .row,
#footer [style*="background-color:white"],
#footer [style*="background-color: white"],
#footer [style*="background:#fff"],
#footer [style*="background: #fff"],
#footer [style*="background-color:#fff"],
#footer [style*="background-color: #fff"] {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6,
#footer p,
#footer span,
#footer li,
#footer i,
#footer a,
#footer strong,
#footer .text-black,
#footer .text-color-light,
#footer [style*="color:#000"],
#footer [style*="color: #000"],
#footer [style*="color:black"],
#footer [style*="color: black"] {
    color: #fff !important;
}

#footer a:hover,
#footer a:hover strong {
    color: #c9a227 !important;
}

@media (max-width: 991px) {
    #header .header-nav-main nav > ul > li > a,
    #header .header-nav-main nav > ul > li > a:focus,
    #header .header-nav-main nav > ul > li > a:active {
        color: #fff !important;
    }
}
