/* ======================================================
   GLOBAL
====================================================== */

body {
    font-family: 'Inter', sans-serif;
    background: #1b0000;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

h3 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ======================================================
   CONTAINER & HEADER
====================================================== */

.container-box {
    background: #1a0008;
    border-radius: 8px;
    overflow: hidden;
}

.bg-elevated {
    background: linear-gradient(to bottom, #5a0f1a, #3a0008);
    color: #ffffff !important;
    padding: 18px;
}

/* ======================================================
   TABLE STYLE
====================================================== */

table {
    font-size: 13px;
}

thead th {
    background: #53010c !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 400;
    letter-spacing: 0.3px;
    font-size: 13px;
}

tbody td {
    font-weight: 300;
}

/* Background body table */
#bukti-area table tbody td {
    background-color: #2a0008 !important;
    color: #e6e6e6 !important;
    font-size: 13px;
    border: none !important;
}

/* Strip effect */
#bukti-area table tbody tr:nth-child(even) td {
    background-color: #4a000b !important;
}

/* Hover effect */
#bukti-area table tbody tr:hover td {
    background-color: #5a0f1a !important;
}

/* Remove bootstrap white bg */
.table > :not(caption) > * > * {
    background-color: transparent;
}

/* ======================================================
   PAGINATION
====================================================== */

.pagination .page-link {
    background: #3a0008 !important;
    color: #ffffff !important;
    border: 1px solid #53010c !important;
    font-size: 12px;
}

.pagination .page-item.active .page-link {
    background: #53010c !important;
}

/* ======================================================
   HISTORY COLOR CUSTOM (ANTI BENTROK BOOTSTRAP)
====================================================== */

#history-body td.tanggal-text {
    color: #00e676 !important;
    font-weight: 400;
}

#history-body td.betid-text {
    color: #ff9800 !important;
    font-weight: 400;
}

#history-body td.deskripsi-text {
    color: #ffffff !important;
}

#history-body td.deposit-text {
    color: #00ff88 !important;
    font-weight: 400;
}

#history-body td.withdraw-text {
    color: #ff3d3d !important;
    font-weight: 400;
}

#history-body td.balance-text {
    color: #29b6f6 !important;
    font-weight: 400;
}

/* ======================================================
   FOOTER
====================================================== */

.custom-footer {
    background: #1b0000;
    padding: 30px 20px 10px;
    border-top: 1px solid #53010c;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 110px;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 12px;
    color: #ffffff;
    opacity: 0.85;
}

.footer-icons {
    display: flex;
    gap: 15px;
}

.footer-icons i {
    font-size: 18px;
    color: #ff2a2a;
    transition: 0.3s ease;
}

.footer-icons i:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 10px 0 20px;
}

/* Provider & License */
.provider-wrapper img,
.license-wrapper img {
    width: 100%;
}

.license-wrapper {
    padding: 25px 0;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 768px) {

    body {
        font-size: 13px;
    }

    .bg-elevated {
        padding: 15px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-logo {
        width: 95px;
    }
}
/* =========================
   TOP HEADER
========================= */

.top-header{
    background: linear-gradient(180deg,#1a0000,#2a0000);
    height:60px;
    border-bottom:1px solid rgba(255,255,255,0.05);
}

.header-logo img{
    filter: brightness(1.2);
}

.header-balance{
    background:#1a0000;
    padding:6px 14px;
    border-radius:8px;
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-weight:600;
}

.balance-amount{
    font-size:15px;
}

.rp-circle{
    background:#28a745;
    color:#fff;
    font-size:11px;
    padding:2px 6px;
    border-radius:50px;
}

.wallet-icon{
    background:#ff4747;
    padding:6px;
    border-radius:6px;
    font-size:14px;
}

.header-profile{
    color:#ff4747;
    font-size:20px;
}
/* =========================================
   CUSTOM BUTTON COLORS (PANEL ONLY)
========================================= */

/* GENERATE DEPOSIT */
.card .btn-warning {
    background-color: #c40000 !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
}

.card .btn-warning:hover {
    background-color: #a00000 !important;
}

/* GENERATE WITHDRAW (PROGRESS) */
.card .btn-primary {
    background-color: #0066cc !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
}

.card .btn-primary:hover {
    background-color: #004c99 !important;
}

/* APPROVE WITHDRAW */
.card .btn-success {
    background-color: #0f5132 !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
}

.card .btn-success:hover {
    background-color: #0a3d26 !important;
}

/* DOWNLOAD PNG */
.card .btn-dark {
    background-color: #000000 !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
}

.card .btn-dark:hover {
    background-color: #1a1a1a !important;
}

