﻿/* GLOBAL */

body.casino-body {
    background: #0b0b0b;
    font-family: 'Segoe UI', sans-serif;
}

.casino-wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

#sidebar {
    width: 260px;
    background: linear-gradient(180deg,#3b0000,#140000);
    color: white;
    transition: all .3s;
}

    #sidebar.collapsed {
        width: 70px;
    }

.brand-panel {
    padding: 20px;
    border-bottom: 1px solid #5a0b0b;
}

.brand-jackpot {
    font-size: 20px;
    font-weight: bold;
    color: gold;
}

.brand-client {
    margin-top: 10px;
    font-size: 13px;
}

.client-logo {
    width: 35px;
    margin-right: 5px;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .menu li a {
        display: block;
        padding: 12px 20px;
        color: #eee;
        text-decoration: none;
    }

        .menu li a:hover {
            background: #700000;
            color: gold;
        }

.menu-section {
    font-size: 11px;
    color: #caa45a;
    padding: 10px 20px;
}

.submenu {
    list-style: none;
    padding-left: 15px;
}

    .submenu li a {
        font-size: 14px;
        background: #1b0000;
    }

/* MAIN AREA */

.main-area {
    flex: 1;
    background: #111;
    color: white;
}

/* TOPBAR */

.topbar {
    height: 55px;
    background: #1c1c1c;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.menu-toggle {
    background: none;
    border: none;
    color: gold;
    font-size: 22px;
    margin-right: 20px;
}

.topbar-title {
    font-size: 18px;
    color: gold;
}

/* PAGE CONTENT */

.page-content {
    padding: 25px;
}

/* FOOTER */

.casino-footer {
    background: #140000;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    color: gold;
}
/* PAGE WRAPPER */

.cage-page {
    padding: 25px;
}

/* PAGE HEADER */

.cage-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3a1b1b;
    padding-bottom: 12px;
}

.customer-meta {
    font-size: 13px;
    color: #c9a96b;
}

.customer-name {
    font-weight: 600;
    margin-right: 10px;
}

/* PANELS */

.cage-panel {
    background: #1b0000;
    border: 1px solid #3a1b1b;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(0,0,0,.5);
}

.panel-title {
    color: #e5c06a;
    margin-bottom: 15px;
}

/* AMOUNT */

.cage-amount {
    font-size: 22px;
    font-weight: 600;
    text-align: right;
}

/* BUTTON */

.btn-casino-primary {
    background: #b8963c;
    border: none;
    color: black;
    font-weight: 600;
    padding: 10px 25px;
}

    .btn-casino-primary:hover {
        background: #e6c76a;
    }

/* FORM FOOTER */

.cage-form-footer {
    margin-top: 25px;
    text-align: right;
}
/* VALIDATION MESSAGES */

.field-validation-error {
    color: #ff4d4d; /* bright red */
    font-size: 13px;
    font-weight: 500;
    display: block;
    margin-top: 4px;
}

/* validation summary */

.validation-summary-errors {
    color: #ff4d4d;
    background: #2a0000;
    border: 1px solid #660000;
    padding: 10px;
    border-radius: 6px;
}

/* invalid input highlight */

.field-validation-error {
    color: #ff5c5c;
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* valid message hidden */

.field-validation-valid {
    display: none;
}

/* invalid input */

.input-validation-error {
    border: 1px solid #ff5c5c !important;
    background-color: #2a0000;
    color: #fff;
}
/* PAGE */

.casino-page {
    background: #0b0b0b;
    color: #f1f1f1;
}

/* CASINO CARD */

.casino-card {
    background: linear-gradient(145deg,#1a0f0f,#120707);
    border: 1px solid #6b1e1e;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 0 8px rgba(0,0,0,.6), inset 0 0 6px rgba(255,215,0,.08);
}

/* HEADER */

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customer-name {
    font-size: 26px;
    font-weight: 600;
    color: #ffd700;
}

.customer-meta {
    color: #bbb;
}

/* WALLET */

.wallet-label {
    font-size: 14px;
    color: #aaa;
}

.wallet-balance {
    font-size: 28px;
    font-weight: 700;
    color: #00ff9c;
}

/* INFO ROW */

.info-row {
    display: flex;
    margin-bottom: 10px;
}

.info-label {
    width: 140px;
    color: #c7a74b;
}

.info-value {
    color: #f2f2f2;
}

/* ACTION BUTTONS */

.action-buttons {
    display: flex;
    gap: 10px;
}

/* BUTTONS */

.btn-casino-success {
    background: #1f7a44;
    border: none;
    color: white;
}

.btn-casino-warning {
    background: #a46300;
    border: none;
    color: white;
}

.btn-casino-secondary {
    background: #333;
    color: white;
}

/* TABLE */

.casino-table {
    color: #f2f2f2;
}

    .casino-table thead {
        background: #4b0000;
        color: #ffd700;
    }

    .casino-table tbody tr {
        border-bottom: 1px solid #3a1a1a;
    }

        .casino-table tbody tr:hover {
            background: #2a1111;
        }

/* STATUS BADGES */

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.status-completed {
    background: #004d2a;
    color: #00ff9c;
}

.status-pending {
    background: #4d3a00;
    color: #ffd700;
}

.status-failed {
    background: #4d0000;
    color: #ff7b7b;
}

/* AMOUNT */

.amount-cell {
    color: #00ff9c;
    font-weight: 600;
}

/* EMPTY */

.casino-empty {
    text-align: center;
    color: #aaa;
    padding: 30px;
}
.casino-report {
    background: #0b0b0b;
    padding: 30px;
    border-radius: 10px;
    color: #f1c40f;
}

.report-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title {
    margin-top: 30px;
    color: #ffd700;
}

.casino-report-table {
    width: 100%;
    border-collapse: collapse;
    background: #111;
}

    .casino-report-table th {
        background: #1a1a1a;
        color: #ffd700;
        padding: 10px;
        border: 1px solid #333;
    }

    .casino-report-table td {
        padding: 8px;
        border: 1px solid #333;
        color: #eee;
    }

.total-row {
    background: #222;
    font-weight: bold;
    color: #ffd700;
}

.casino-accordion .casino-item {
    background: #111;
    border: 1px solid #333;
    margin-bottom: 10px;
    border-radius: 8px;
}

.casino-header {
    background: #1a1a1a;
    color: #ffd700;
    font-weight: 600;
}

    .casino-header:not(.collapsed) {
        background: #222;
        color: #ffd700;
    }

.total-amount {
    font-weight: bold;
    color: #00ff9c;
}

.casino-table {
    color: #eee;
}

    .casino-table thead {
        background: #222;
        color: #ffd700;
    }
.casino-summary .summary-tile {
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    color: #fff;
    transition: 0.3s;
}

.summary-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(255,215,0,0.5);
}

.tile-title {
    font-size: 14px;
    color: #ffd700;
    letter-spacing: 1px;
}

.tile-amount {
    font-size: 22px;
    font-weight: 700;
    margin-top: 5px;
}

.tile-count {
    font-size: 12px;
    color: #aaa;
}

/* tile colors */

.cash-tile {
    border-left: 4px solid #2ecc71;
}

.card-tile {
    border-left: 4px solid #3498db;
}

.upi-tile {
    border-left: 4px solid #9b59b6;
}

.bank-tile {
    border-left: 4px solid #f39c12;
}

.grand-total-bar {
    background: #1a1a1a;
    color: #ffd700;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

    .grand-total-bar .grand-amount {
        float: right;
        color: #00ff9c;
    }