body{
    background:#f1f5f9;
    font-family:Arial, Helvetica, sans-serif;
}

.navbar-custom{
    background:rgba(255,255,255,0.96);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:0 2px 15px rgba(0,0,0,0.08);
    border-bottom:1px solid rgba(0,0,0,0.05);
}

.hero-section{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:white;
    border-radius:20px;
    padding:30px 20px;
    margin-bottom:25px;
    overflow:hidden;
    position:relative;
}

.hero-section::before{
    content:'';
    position:absolute;
    right:-50px;
    top:-50px;
    width:220px;
    height:220px;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
}

.hero-section::after{
    content:'';
    position:absolute;
    right:100px;
    bottom:-80px;
    width:180px;
    height:180px;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
}

.hero-title{
    font-size:42px;
    font-weight:bold;
    margin-bottom:15px;
}

.search-box{
    border-radius:20px;
    padding:15px 20px;
    border:none;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.section-title{
    font-size:22px;
    font-weight:bold;
    margin-top:35px;
    margin-bottom:20px;
}

.menu-card{
    background:white;
    border-radius:25px;
    padding:25px 20px;
    text-align:center;
    transition:0.3s;
    cursor:pointer;
    height:100%;
    border:none;
    box-shadow:0 4px 15px rgba(0,0,0,0.06);
}

.menu-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.menu-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    background:#eff6ff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    margin:auto;
    margin-bottom:15px;
}

.menu-title{
    font-weight:bold;
    font-size:16px;
    margin-bottom:5px;
}

.menu-subtitle{
    color:#64748b;
    font-size:13px;
}

.promo-card{
    background:white;
    border-radius:25px;
    padding:25px;
    box-shadow:0 4px 15px rgba(0,0,0,0.06);
    height:100%;
}

.promo-icon{
    width:55px;
    height:55px;
    border-radius:15px;
    background:#dbeafe;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    margin-bottom:15px;
}

.transaction-card{
    background:white;
    border-radius:25px;
    padding:25px;
    box-shadow:0 4px 15px rgba(0,0,0,0.06);
}

.receipt-box{
    background:#f8fafc;
    border-radius:20px;
    padding:20px;
}

.footer{
    margin-top:60px;
    background:white;
    padding:25px;
    border-radius:25px 25px 0 0;
    text-align:center;
    color:#64748b;
}

.dark-mode{
    background:#0f172a;
    color:white;
}

.dark-mode .navbar-custom{
    background:rgba(15,23,42,0.96);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.dark-mode .menu-card,
.dark-mode .menu-card,
.dark-mode .promo-card,
.dark-mode .transaction-card,
.dark-mode .modal-content,
.dark-mode .footer{
    background:#1e293b;
    color:white;
}

.dark-mode .menu-subtitle,
.dark-mode small,
.dark-mode .text-muted{
    color:#cbd5e1 !important;
}

.dark-mode .search-box{
    background:#1e293b;
    color:white;
}

@media(max-width:768px){

    .hero-title{
        font-size:30px;
    }

    .hero-section{
        padding:35px 25px;
    }

}

/* Efek hover interaktif pada Card */
.biller-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
    background-color: #fcfcfc;
}

/* Wadah kotak logo yang seragam (60x60px) */
.biller-logo-container {
    /*width: 60px;*/
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Menjaga kotak tidak terhimpit teks panjang */
    overflow: hidden;
    padding: 5px; /* Memberikan ruang napas di dalam kotak untuk logo */
}

/* Memaksa gambar patuh pada area kotak tanpa merusak rasio asli brand */
.biller-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Kunci utama agar logo tidak melar/peyang */
}

/* Mencegah layout rusak jika nama produk terlalu panjang */
.min-w-0 {
    min-width: 0;
}

/* Pembungkus luar: Menutupi seluruh layar, gelap, posisi paling atas */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    
    /* Gunakan flex hanya jika loader AKTIF (tanpa d-none) */
    display: flex !important; 
    align-items: center;
    justify-content: center;
}

/* Pastikan saat ada d-none, display flex di atas langsung mati total */
.loader-overlay.d-none {
    display: none !important;
}

#mymessage{
    position:fixed;
    top:20px;
    right:20px;

    min-width:360px;
    max-width:480px;

    z-index:999999;

    border-radius:.75rem;
}

#myinner-message{
    display:inline-block;
}
