/* HUTAN Custom Scrollbar - Highest Priority */

/* ===== FORCE CUSTOM SCROLLBAR ON ALL PAGES ===== */

/* Firefox scrollbar */
html, body, #wrapper, #main, .main-content, * {
    scrollbar-width: thin !important;
    scrollbar-color: #B8860B #1a1a1a !important;
}

/* Webkit browsers (Chrome, Safari, Edge) */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
#wrapper::-webkit-scrollbar,
#main::-webkit-scrollbar,
.main-content::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
    background: transparent !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
#wrapper::-webkit-scrollbar-track,
#main::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: #1a1a1a !important;
    border-radius: 5px !important;
    border: none !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
#wrapper::-webkit-scrollbar-thumb,
#main::-webkit-scrollbar-thumb,
.main-content::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B8860B, #FFD700) !important;
    border-radius: 5px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease !important;
    min-height: 20px !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
#wrapper::-webkit-scrollbar-thumb:hover,
#main::-webkit-scrollbar-thumb:hover,
.main-content::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFD700, #B8860B) !important;
    box-shadow: 0 0 10px rgba(184,134,11,0.5) !important;
    transform: scale(1.05) !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
#wrapper::-webkit-scrollbar-corner,
#main::-webkit-scrollbar-corner,
.main-content::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
    background: #1a1a1a !important;
    border: none !important;
}

/* Additional specificity for theme overrides */
.flatsome-child html::-webkit-scrollbar,
.flatsome-child body::-webkit-scrollbar,
.flatsome-child #wrapper::-webkit-scrollbar,
.flatsome-child #main::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
}

.flatsome-child html::-webkit-scrollbar-track,
.flatsome-child body::-webkit-scrollbar-track,
.flatsome-child #wrapper::-webkit-scrollbar-track,
.flatsome-child #main::-webkit-scrollbar-track {
    background: #1a1a1a !important;
    border-radius: 5px !important;
}

.flatsome-child html::-webkit-scrollbar-thumb,
.flatsome-child body::-webkit-scrollbar-thumb,
.flatsome-child #wrapper::-webkit-scrollbar-thumb,
.flatsome-child #main::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B8860B, #FFD700) !important;
    border-radius: 5px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.flatsome-child html::-webkit-scrollbar-thumb:hover,
.flatsome-child body::-webkit-scrollbar-thumb:hover,
.flatsome-child #wrapper::-webkit-scrollbar-thumb:hover,
.flatsome-child #main::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFD700, #B8860B) !important;
    box-shadow: 0 0 10px rgba(184,134,11,0.5) !important;
}

/* Force override for any existing styles */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
#wrapper::-webkit-scrollbar,
#main::-webkit-scrollbar,
.main-content::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
    background: transparent !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
#wrapper::-webkit-scrollbar-track,
#main::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: #1a1a1a !important;
    border-radius: 5px !important;
    border: none !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
#wrapper::-webkit-scrollbar-thumb,
#main::-webkit-scrollbar-thumb,
.main-content::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B8860B, #FFD700) !important;
    border-radius: 5px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease !important;
    min-height: 20px !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
#wrapper::-webkit-scrollbar-thumb:hover,
#main::-webkit-scrollbar-thumb:hover,
.main-content::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFD700, #B8860B) !important;
    box-shadow: 0 0 10px rgba(184,134,11,0.5) !important;
    transform: scale(1.05) !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
#wrapper::-webkit-scrollbar-corner,
#main::-webkit-scrollbar-corner,
.main-content::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
    background: #1a1a1a !important;
    border: none !important;
}

/* Firefox scrollbar - force override */
html, body, #wrapper, #main, .main-content, * {
    scrollbar-width: thin !important;
    scrollbar-color: #B8860B #1a1a1a !important;
} 