:root {
    --primary-color: #ffc107; /* Yellow */
    --bg-dark: #1a1a1a;
    --bg-darker: #111111;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --sidebar-width: 250px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Generic Styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Specific overrides for text-heavy pages to match user request */
.content-section h2,
.content-section h4,
.content-section h5,
.content-section h6 {
    color: var(--text-gray);
}

.content-section h3 {
    color: var(--text-gray);
    font-size: 18px;
}

.content-section ol li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

.content-section table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text-gray);
    border-collapse: collapse;
}

.content-section table tr {
    border-bottom: 1px solid #333;
}

.content-section table th,
.content-section table td {
    padding: 12px;
    vertical-align: middle;
    border: none; /* Reset default borders to rely on tr border-bottom */
    text-align: center;
    color: var(--text-gray);
}

.content-section table td i {
    /* color: #fff; Default to white for visibility */
}

/* Payment Brand Colors */
.fa-cc-visa { color: #fff; }
.fa-cc-mastercard { color: #eb001b; }
.fa-bitcoin { color: #f7931a; }
.fa-ethereum { color: #627eea; }
.fa-paw { color: #ba9f33; } /* Dogecoin */
.fa-water { color: #00aae4; } /* Ripple */
.fa-coins { color: #f3ba2f; } /* Generic Coin / BNB */
.fa-infinity { color: #D00000; } /* AstroPay */
.fa-university { color: #4caf50; } /* Bank Transfer */
.fa-gamepad { color: #182C4F; } /* Mifinity (Blue) */
.fa-wallet { color: #F37021; } /* Jeton (Orange) */
.fa-money-check-alt { color: #10355F; } /* eZeeWallet */
.fa-credit-card { color: #007AB3; } /* Paysafecard */

p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

ul, ol {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 20px;
}

li {
    margin-bottom: 5px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

button {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

/* Layout */
.footer-page-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Sidebar */
.custom-sidebar {
    width: var(--sidebar-width);
    background-color: #202021;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #333;
    position: fixed;
    height: 100vh;
    /* overflow-y: auto; */
    left: 0;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.custom-sidebar .brand {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    /* margin-bottom: 40px; */
    text-decoration: none;
    display: block;
}

.custom-sidebar .brand span {
    color: #fff;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    /* margin-bottom: 15px; */
}

.sidebar-menu a {
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.sidebar-menu a:hover {
    background-color: #333;
    color: var(--text-white);
    text-decoration: none;
}

.sidebar-menu i {
    width: 25px;
    margin-right: 10px;
    color: var(--text-gray);
}

/* Main Content */
.main-content-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    background-color: var(--bg-dark);
    width: calc(100% - var(--sidebar-width));
}

/* Top Nav */
.top-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--bg-dark);
}

.top-nav .btn {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

.top-nav .btn-login {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

.top-nav .btn-register {
    background-color: var(--primary-color);
    color: #000;
    border: 1px solid var(--primary-color);
}

.top-nav .lang-select {
    margin-left: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.top-nav .lang-select img {
    width: 20px;
    margin-right: 5px;
}

/* Content Body */
.content-body {
    width: 100%;
    /* max-width: 800px; */
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    flex: 1;
}

.page-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
}

.last-updated {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 40px;
    display: block;
}

.content-section {
    margin-bottom: 30px;
}

/* Accordion for FAQ */
.faq-item {
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 25px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-answer {
    display: none;
    padding-bottom: 20px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer Overrides for Dark Theme */
.footer-section {
    background-color: var(--bg-darker) !important;
    border-top: 1px solid #333;
    margin-top: auto;
    padding-top: 60px;
}

.footer-box h5 {
    color: #fff !important;
}

.footer-box p, .footer-box li, .footer-box span, .footer-box a {
    color: var(--text-gray) !important;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    text-align: center;
}

/* Button Custom for Payments Page */
.btn-custom {
    background-color: var(--primary-color);
    color: #000;
    border: 1px solid var(--primary-color);
    padding: 6px 16px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .custom-sidebar {
        transform: translateX(-100%);
    }

    .custom-sidebar.active {
        transform: translateX(0);
    }

    .main-content-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .content-body {
        padding: 0 15px 40px 15px;
    }
}

/* Support Page */
.support-form-wrapper {
    margin-bottom: 30px;
}

.support-input {
    background-color:#1c1c1d;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 15px;
}

.support-input:focus {
    background-color: var(--bg-darker);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
    outline: none;
}

.form-label {
    color: var(--text-gray);
    margin-bottom: 8px;
    display: block;
}

/* .chat-widget-section {
    background-color: var(--bg-darker);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
} */

.chat-placeholder {
    background-color: var(--bg-dark);
    border-radius: 8px;
    margin-top: 20px;
}

.btn-chat {
    width: 100%;
    margin-top: 10px;
}
