@import url("../../../melior/assets/css/main90c6.css");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

/* ==========================================================================
   THEME ROYAL GOLD X - SLEEK DARK GOLD & GLASSMORPHISM OVERRIDES
   ========================================================================== */

/* 1. Global Reset & Typography */
* {
    font-family: 'Outfit', sans-serif !important;
}

/* Fix icon font family overrides (Bulletproof high-specificity rules) */
#page-container i.fa,
#page-container .fa,
body i.fa,
body .fa,
i.fa,
.fa {
    font-family: FontAwesome !important;
}

#page-container i.si,
#page-container .si,
body i.si,
body .si,
i.si,
.si,
[class^="si-"],
[class*=" si-"] {
    font-family: 'simple-line-icons' !important;
}

#page-container i.ra,
#page-container .ra,
body i.ra,
body .ra,
i.ra,
.ra,
[class^="ra-"],
[class*=" ra-"] {
    font-family: 'rpg-awesome' !important;
}



body {
    background-image: linear-gradient(rgba(8, 8, 10, 0.85), rgba(8, 8, 10, 0.95)), url('../images/bg/bg-rolya-goldx.png') !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-position: center !important;
    background-color: #08080a !important;
    color: #e2e2e7 !important;
    position: relative;
    overflow-x: hidden;
}

/* Background Particles Container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Ensure content is above particles */
.page-container, .main-container, header, footer, .modal {
    position: relative;
    z-index: 2;
}

/* 2. Glassmorphism Panels */
.card, .panel, .block, .box, .modal-content, 
.bg-white, .block-themed, .list-group-item,
.bg-body-light, .bg-body {
    background: rgba(18, 18, 24, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    color: #e2e2e7 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.card:hover, .panel:hover, .block:hover {
    border-color: rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 12px 40px 0 rgba(212, 175, 55, 0.15) !important;
    transform: translateY(-2px);
}

/* 3. Text Formatting & Metallic Gold Gradients */
h1, h2, h3, h4, h5, h6, .text-warning, .font-w700, .nav-main-link-name {
    color: #ffd700 !important;
}

.text-gold-gradient, .brand-title, .logo-text, .text-primary-dark {
    background: linear-gradient(135deg, #fff7d6 0%, #d4af37 50%, #aa7c11 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
}

.text-muted {
    color: #a0a0ab !important;
}

/* 4. Inputs & Forms (Glass style) */
input[type="text"], input[type="password"], input[type="email"], input[type="number"], 
select, textarea, .form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2) !important;
}

input:focus, select:focus, textarea:focus, .form-control:focus {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(212, 175, 55, 0.7) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25) !important;
    outline: none !important;
}

/* 5. Buttons & CTAs (Metallic Gold) */
.btn-primary, .btn-warning, .btn-gold, button[type="submit"], .btn-alt-primary {
    background: linear-gradient(135deg, #ffe57f 0%, #d4af37 50%, #b8860b 100%) !important;
    color: #0b0b0d !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn-primary:hover, .btn-warning:hover, button[type="submit"]:hover, .btn-alt-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.55) !important;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #d4af37 100%) !important;
    color: #000000 !important;
}

.btn-secondary, .btn-alt-secondary {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.btn-secondary:hover, .btn-alt-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

/* 6. Sidebar & Header Override for Royal Gold X style */
.sidebar, #sidebar {
    background: rgba(10, 10, 14, 0.9) !important;
    border-right: 1px solid rgba(212, 175, 55, 0.1) !important;
}

.header, #page-header {
    background: rgba(19, 19, 21, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(77, 70, 53, 0.3) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1) !important;
    top: -10px !important;
    padding-top: 10px !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
    height: 80px !important;
}

/* Nav Main Header Links to match Home Page */
.melior .nav-main-header > li > a {
    color: #d0c5af !important;
    background: transparent !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 10px 16px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.melior .nav-main-header > li > a > i {
    color: #f2ca50 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

/* Hover & Active States matching Home Page */
.melior .nav-main-header > li > a:hover,
.melior .nav-main-header > li > a:focus,
.melior .nav-main-header > li > a.active,
.melior .nav-main-header > li.open > a.nav-submenu,
.melior .nav-main-header > li:hover > a.nav-submenu {
    color: #f2ca50 !important;
    background: rgba(242, 202, 80, 0.08) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
}

.melior .nav-main-header > li > a:hover > i,
.melior .nav-main-header > li > a:focus > i,
.melior .nav-main-header > li > a.active > i,
.melior .nav-main-header > li.open > a.nav-submenu > i,
.melior .nav-main-header > li:hover > a.nav-submenu > i {
    color: #f2ca50 !important;
    transform: scale(1.1) !important;
}

/* Header Buttons (Login, Register, Logout) matching Home Page */
.melior .btn-dual-secondary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: 1px solid rgba(242, 202, 80, 0.5) !important;
    color: #f2ca50 !important;
    background-color: transparent !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.melior .btn-dual-secondary:hover,
.melior .btn-dual-secondary:focus,
.melior .btn-dual-secondary:active,
.melior .btn-dual-secondary.active,
.melior .btn-dual-secondary:not([disabled]):not(.disabled).active,
.melior .show > .btn-dual-secondary.dropdown-toggle {
    background-color: rgba(242, 202, 80, 0.1) !important;
    color: #f2ca50 !important;
    border-color: #f2ca50 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25) !important;
}

/* Sidebar Toggle Button on Mobile */
.melior button.btn-circle.btn-dual-secondary {
    border: 1px solid rgba(242, 202, 80, 0.4) !important;
    color: #f2ca50 !important;
    background-color: rgba(19, 19, 21, 0.6) !important;
    padding: 0 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.melior button.btn-circle.btn-dual-secondary:hover {
    background-color: rgba(242, 202, 80, 0.1) !important;
    border-color: #f2ca50 !important;
}


.nav-main-link {
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.nav-main-link:hover, .nav-main-link.active {
    background: rgba(212, 175, 55, 0.1) !important;
    color: #ffd700 !important;
}

/* 7. Badges & Alerts */
.badge-primary, .badge-warning {
    background-color: #ffd700 !important;
    color: #0b0b0d !important;
    font-weight: bold;
}

.alert-info, .alert-warning, .alert-danger {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    color: #ffd700 !important;
    border-radius: 8px !important;
}

/* 8. Custom VIP Progress Bar */
.progress {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    border: 1px solid rgba(212, 175, 55, 0.1) !important;
}

.progress-bar {
    background: linear-gradient(90deg, #d4af37, #ffe57f) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5) !important;
}

/* 9. Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #08080a;
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.6);
}

/* 10. PREMIUM HEADER DROPDOWN RESKIN (ROYAL GOLD X STYLE) */

/* Dropdown Container */
.melior .nav-main-header > li.nav-item-dropdown > ul.dropdown-menu-custom {
    background: rgba(10, 10, 14, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    padding: 8px 0 !important;
    min-width: 260px !important;
}

/* Individual Dropdown Links */
.melior .nav-main-header > li.nav-item-dropdown > ul.dropdown-menu-custom > li > a {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    color: #c8c8c8 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    background-color: transparent !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

/* Hover effect on dropdown links */
.melior .nav-main-header > li.nav-item-dropdown > ul.dropdown-menu-custom > li > a:hover {
    background: linear-gradient(135deg, #ffe57f 0%, #d4af37 50%, #b8860b 100%) !important;
    color: #08080a !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2) !important;
}

/* Icons inside dropdown links */
.melior .nav-main-header > li.nav-item-dropdown > ul.dropdown-menu-custom > li > a > i {
    margin-right: 12px !important;
    font-size: 16px !important;
    color: #ffd700 !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

/* Icon hover color shift to dark text color */
.melior .nav-main-header > li.nav-item-dropdown > ul.dropdown-menu-custom > li > a:hover > i {
    color: #08080a !important;
}

/* Caret indicator rotation */
.melior .nav-main-header > li.nav-item-dropdown > a.nav-submenu::after {
    content: ' ▾' !important;
    margin-left: 6px !important;
    font-size: 12px !important;
    color: #ffd700 !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

.melior .nav-main-header > li.nav-item-dropdown:hover > a.nav-submenu::after {
    transform: rotate(180deg) !important;
}

/* 11. HIDE DUPLICATE MENU CARET */
.nav-main-header a.nav-submenu::before {
    display: none !important;
    content: none !important;
}

/* 12. VERTICALLY CENTER HEADER CONTENT */
#page-header .content-header {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}
#page-header .content-header-section {
    display: flex !important;
    align-items: center !important;
}

/* 13. PREMIUM SIDEBAR MENU RESKIN */
#sidebar-scroll {
    background-color: rgba(10, 10, 14, 0.95) !important;
}

#sidebar .content-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
}

#sidebar .content-header-item a span {
    color: #f2ca50 !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
    letter-spacing: 1px;
}

.sidebar-inverse #sidebar .nav-main a {
    color: #c8c8c8 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    margin-bottom: 4px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
}

.sidebar-inverse #sidebar .nav-main a > i {
    position: static !important;
    transform: none !important;
    color: #f2ca50 !important;
    margin-right: 12px !important;
    font-size: 16px !important;
    width: 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.sidebar-inverse #sidebar .nav-main a:hover,
.sidebar-inverse #sidebar .nav-main li.open > a.nav-submenu,
.sidebar-inverse #sidebar .nav-main a.active {
    color: #f2ca50 !important;
    background-color: rgba(242, 202, 80, 0.08) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
}

.sidebar-inverse #sidebar .nav-main a:hover > i,
.sidebar-inverse #sidebar .nav-main a.active > i {
    color: #ffe57f !important;
    transform: scale(1.1) !important;
}

/* 14. BORDERLESS LOGO STYLING */
#page-header a img, #sidebar a img {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 15. MOBILE SIDEBAR WIDTH & CLOSE BUTTON FIX */
@media (max-width: 991.98px) {
    #sidebar {
        width: 260px !important;
    }
}

#sidebar .content-header {
    position: relative !important;
}

#sidebar .content-header-section {
    position: static !important;
}

#sidebar .content-header button[data-action="sidebar_close"] {
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;
    transform: translateY(-50%) !important;
    z-index: 99 !important;
    margin: 0 !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 11px !important;
}

/* 16. USER DROPDOWN STYLING OVERRIDES */
#page-header-user-dropdown {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    background-color: rgba(18, 18, 24, 0.6) !important;
    color: #e2e2e7 !important;
    transition: all 0.3s ease !important;
}

#page-header-user-dropdown:hover,
#page-header-user-dropdown:focus,
.btn-group.show #page-header-user-dropdown {
    border-color: rgba(212, 175, 55, 0.6) !important;
    background-color: rgba(212, 175, 55, 0.1) !important;
    color: #ffd700 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
}

#page-header .dropdown-menu {
    background: rgba(18, 18, 24, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    border-radius: 8px !important;
    margin-top: 8px !important;
    padding: 8px 0 !important;
}

#page-header .dropdown-item {
    color: #c8c8c8 !important;
    font-weight: 500 !important;
    padding: 10px 16px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
}

#page-header .dropdown-item i {
    color: #f2ca50 !important;
    font-size: 14px !important;
    width: 20px !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

#page-header .dropdown-item:hover {
    color: #ffd700 !important;
    background-color: rgba(242, 202, 80, 0.1) !important;
}

#page-header .dropdown-item:hover i {
    transform: scale(1.1) !important;
    color: #ffe57f !important;
}

#page-header .dropdown-divider {
    border-top: 1px solid rgba(212, 175, 55, 0.15) !important;
    margin: 4px 0 !important;
}

/* 17. SIDEBAR RESPONSIVE VISIBILITY OVERRIDES */
@media (min-width: 992px) {
    #sidebar {
        display: none !important;
    }
    #page-container.sidebar-o #main-container,
    #page-container.sidebar-o #page-header,
    #page-container.sidebar-o #page-footer,
    #page-container #main-container,
    #page-container #page-header,
    #page-container #page-footer {
        padding-left: 0 !important;
    }
    /* Hide sidebar toggle button on desktop */
    #page-header button[data-action="sidebar_toggle"] {
        display: none !important;
    }
}

/* Hide Bootstrap default dropdown carets */
#page-header-user-dropdown::after,
#page-header-language-dropdown::after {
    display: none !important;
}

#page-header-language-dropdown {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    background-color: rgba(18, 18, 24, 0.6) !important;
    color: #e2e2e7 !important;
    transition: all 0.3s ease !important;
}

#page-header-language-dropdown:hover,
#page-header-language-dropdown:focus,
.btn-group.show #page-header-language-dropdown {
    border-color: rgba(212, 175, 55, 0.6) !important;
    background-color: rgba(212, 175, 55, 0.1) !important;
    color: #ffd700 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
}





