/* Custom Styles to Override Bootstrap */
body {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

h1, h2, h3, .navbar-brand, .fighter-name {
    font-family: 'Bebas Neue', cursive;
    color: white;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)),
                url('../images/banner/hss7bg.jpg') center/cover;
    min-height: 50vh;
}

.main-title {
    font-size: calc(3rem + 4vw);
    letter-spacing: 5px;
}

.fight-card {
    background-color: #1e1e1e !important;
    border-radius: 15px;
    transition: transform 0.2s;
}

.fight-card:hover {
    transform: translateY(-5px);
    background-color: #252525 !important;
}

.main-event-card {
    background: linear-gradient(45deg, #121212 0%, #2a2205 100%);
    border-radius: 20px;
}

.btn-dark {
    background-color: #000;
    border: 1px solid #333;
}

.btn-dark span {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .fighter-name {
        font-size: 1.2rem;
    }
    .main-title {
        font-size: 4rem;
    }
}
/* Gaya untuk tombol market tambahan */
.btn-outline-light {
    border-color: #444;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-outline-light:hover {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #000;
}

.btn-outline-light strong {
    color: #d4af37;
    font-size: 1rem;
}

.btn-outline-light:hover strong {
    color: #000;
}

/* Animasi collapse */
.collapse {
    transition: all 0.3s ease-out;
}

/* Container Box untuk Market */
.market-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
}

/* Tombol Detail TKO/Decision */
.btn-bet-detail {
    background: #111;
    border: 1px solid #444;
    color: white;
    font-size: 0.75rem;
    padding: 10px 5px;
}

.btn-bet-detail strong {
    color: #ffc107;
    font-size: 1rem;
}

/* Grid Ronde */
.round-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 kolom di desktop */
    gap: 8px;
}

.btn-round {
    background: #111;
    border: 1px solid #444;
    color: white;
    padding: 8px 2px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.2s;
}

.btn-round span {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #ffc107;
    font-weight: bold;
}

.btn-round:hover {
    background: #ffc107;
    color: black;
}

.btn-round:hover span {
    color: black;
}

/* Responsif Mobile untuk Ronde */
@media (max-width: 768px) {
    .round-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolom saja di HP agar tidak kekecilan */
    }
}
/* Card Co-Main Event */
.co-main-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #331a1a 100%); /* Sedikit sentuhan merah/maroon */
    border: 1px solid #444 !important;
    border-radius: 15px;
}

.fighter-name {
    font-size: 2rem;
    letter-spacing: 1px;
}

.btn-link:hover {
    color: #ffc107 !important;
}

/* Memastikan grid ronde tetap rapi di mobile */
@media (max-width: 576px) {
    .fighter-name {
        font-size: 1.5rem;
    }
}
/* Card Undercard */
.undrecard-card {
    background: #141414 !important; /* Hitam pekat agar fokus ke teks */
    border: 1px solid #2a2a2a !important;
    border-radius: 12px;
}

/* Efek Shadow Inner untuk Market Box */
.shadow-inner {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

/* Hover effect khusus kartu ini */
.undrecard-card:hover {
    border-color: #555 !important;
}
.bank li{
  list-style-type: none;
  display: inline-block;
  padding: 0 5px;
}
.bank li img{
  max-width: 65px;
}

/* Styling Modal */
.modal-content {
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.form-control:focus, .form-select:focus {
    background-color: #000;
    color: #fff;
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.input-group-text {
    border-right: none;
}

.form-control {
    border-radius: 8px;
}

/* Animasi saat modal muncul */
.modal.fade .modal-dialog {
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}
.modal.show .modal-dialog {
    transform: scale(1);
}
/* Styling Bet Slip Offcanvas */
.offcanvas {
    width: 350px !important; /* Ukuran desktop */
}

@media (max-width: 576px) {
    .offcanvas {
        width: 100% !important; /* Full width di HP */
        height: 70vh !important; /* Hanya muncul dari bawah */
    }
    .offcanvas.offcanvas-end{
        bottom: 0;
        top: auto;
    }
}

.offcanvas-header {
    background: #000;
}

.offcanvas-backdrop.show{
    opacity: 0.8;
}

.bet-input-section {
    background: rgba(255, 255, 255, 0.05) !important;
}

#stakeAmount {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.btn-outline-secondary {
    border-color: #444;
    color: #ccc;
}

.btn-outline-secondary:hover {
    background: #444;
    color: #fff;
}
h6#selectedMatch{
  color: white;
}
/* User Dashboard Bar */
.user-dashboard-bar {
    position: sticky;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.saldo-box {
    box-shadow: inset 0 0 5px rgba(255,193,7,0.1);
}

/* Responsif Mobile */
@media (max-width: 576px) {
    .user-dashboard-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    .saldo-box {
        justify-content: space-between;
    }
    .user-dashboard-bar .d-flex.gap-2 {
        width: 100%;
    }
    .user-dashboard-bar .btn {
        flex: 1; /* Tombol depo & wd bagi dua sama lebar di HP */
    }
}
/* History Table Styles */
.table {
    border-color: #333;
    font-size: 0.9rem;
}

.table thead th {
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

.table tbody tr {
    transition: background 0.2s;
    cursor: default;
}

.table tbody tr:hover {
    background-color: rgba(255, 193, 7, 0.05) !important;
}

.badge {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Custom Scrollbar untuk Mobile Filter */
.overflow-auto::-webkit-scrollbar {
    height: 4px;
}
.overflow-auto::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .table {
        min-width: 600px; /* Memaksa scroll horizontal di HP agar data tidak tumpang tindih */
    }
}
/* Profile Page Custom Styles */
.avatar-circle {
    width: 80px;
    height: 80px;
    background: #d4af37;
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #333;
}

.active-link {
    background: rgba(212, 175, 55, 0.1) !important;
    border-left: 4px solid #d4af37 !important;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffc107 !important;
}

.form-control:focus {
    background-color: #111 !important;
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.1);
}

/* UI Card Shadow */
.card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* Transaction Status Colors */
.badge {
    font-size: 0.75rem;
    padding: 6px 12px;
}

.bg-success-subtle { background-color: rgba(25, 135, 84, 0.1) !important; }
.bg-warning-subtle { background-color: rgba(255, 193, 7, 0.1) !important; }
.bg-danger-subtle { background-color: rgba(220, 53, 69, 0.1) !important; }

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

.font-monospace {
    color: #888;
    letter-spacing: 0.5px;
}

.bebas-font {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}

.card {
    background: linear-gradient(145deg, #0f0f0f 0%, #1a1a1a 100%) !important;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 15px;
}

.form-control:focus {
    background-color: #000 !important;
    border-color: #ffc107 !important;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
}

.input-group-text {
    border-color: #333;
}

.tracking-wider {
    letter-spacing: 3px;
}
