html, body {
    margin: 0;
    padding: 0;
    font-family: Segoe UI, Tahoma, Arial, sans-serif;
    background: #f5f7fb;
}


.admin-layout {
    display: flex;
    min-height: 100vh;
}


.sidebar {
    width: 260px;
    background: #111827;
    color: white;
    padding: 25px;
    box-sizing: border-box;
}


    .sidebar h2 {
        margin-top: 0;
        margin-bottom: 30px;
        font-size: 22px;
    }


    .sidebar nav {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }


    .sidebar a {
        color: #d1d5db;
        text-decoration: none;
        padding: 12px 15px;
        border-radius: 10px;
        transition: .2s;
    }


        .sidebar a:hover {
            background: #374151;
            color: white;
        }


.content {
    flex: 1;
    padding: 35px;
    box-sizing: border-box;
}



/* Tables */

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}


    .table th {
        background: #111827;
        color: white;
        text-align: left;
        padding: 12px;
    }


    .table td {
        padding: 12px;
        border-bottom: 1px solid #e5e7eb;
    }



button {
    border: none;
    background: #2563eb;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 5px;
}


    button:hover {
        opacity: .85;
    }



/* Mobile */

@media(max-width:768px) {

    .admin-layout {
        flex-direction: column;
    }


    .sidebar {
        width: 100%;
    }


    .content {
        padding: 20px;
    }
}

/* ===== GameRoute Admin Global Theme ===== */

html, body {
    background: #0b0f19;
    color: #e5e7eb;
    font-family: "Segoe UI", sans-serif;
}


h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}


p, span, label, td, th {
    color: #cbd5e1;
}


/* Tables */

table {
    background: #111827;
    color: #e5e7eb;
}


    table th {
        background: #1f2937;
        color: white;
    }


    table td {
        border-color: #374151;
    }


/* Cards */

.card,
.panel {
    background: #111827;
    color: #e5e7eb;
    border: 1px solid #1f2937;
}


/* Buttons */

button {
    color: white;
}


/* Inputs */

input,
select,
textarea {
    background: #111827;
    color: white;
    border: 1px solid #374151;
}


    input::placeholder {
        color: #6b7280;
    }


/* Links */

a {
    color: #93c5fd;
}

    a:hover {
        color: white;
    }

/* Global Dark Theme Fix */

html, body {
    background: #0b0f19;
    color: #6b7280;
}


h1, h2, h3, h4, h5, h6 {
    color: #9ca3af !important;
}


p, span, div, td, th, label {
    color: #6b7280;
}


/* Tables */

table {
    color: #6b7280;
}


    table th {
        color: #9ca3af;
    }


    table td {
        color: #6b7280;
    }


/* Buttons */

button {
    color: #e5e7eb;
}


/* Cards */

.card {
    background: #111827;
    color: #6b7280;
    border: 1px solid #1f2937;
}

/* Global Admin Theme */

body {
    background: #05070d;
    color: #111111;
}


h1, h2, h3, h4, h5, h6 {
    color: #0a0a0a;
    font-weight: 700;
}


p, span, label, td, th {
    color: #111111;
}


/* Tables */

table {
    color: #111111;
}


    table th {
        color: #050505;
        font-weight: 800;
    }


    table td {
        color: #161616;
    }


/* Cards */

.card,
.dashboard-card,
.panel {
    color: #111111;
}


/* Sidebar override */

.sidebar a {
    color: #111111 !important;
}


    .sidebar a:hover {
        color: #000000 !important;
    }

.table {
    color: #f9fafb !important;
}


    .table th {
        color: #ffffff !important;
    }


    .table td {
        color: #e5e7eb !important;
    }


input {
    background: #111827;
    color: white;
    border: 1px solid #374151;
}


    input::placeholder {
        color: #9ca3af;
    }


button {
    color: white;
}