:root {
    --bottom-nav-height: 70px;
    --header-bar-height: 72px;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: 100%;
    max-width: 480px;
    border-left: 2px solid rgba(255, 255, 255, 0.28);
    border-right: 2px solid rgba(255, 255, 255, 0.28);
}
.header-left img {
    width: 95px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #e4003a;
    text-decoration: none;
}
.coin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* background: linear-gradient(135deg, #e4003a, #b10028); */
    background: #f8fafc;
    color: #1e293b;
    padding: 7px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
}
.coin-badge img {
    width: 18px;
    height: 18px;
}

/* Remove underline */
.logo-link {
    text-decoration: none;
}

/* Flex container */
.logo-container {
    padding-left: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px !important;
    object-fit: contain;
}

.logo-text {
    width: 130px !important;
    object-fit: contain;
}

/* 40x40 box */
/* .logo-box {
    width: 40px;
    height: 40px;
    background: #00c4b4;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
} */

/* Wallet icon */
/* .logo-box i {
    color: white;
    font-size: 18px;
} */

/* Color split */
/* .logo-text .saldo {
    color: #0f172a;
}

.logo-text .mart {
    color: #3be3d2;
} */

.logout-btn {
    background: linear-gradient(135deg, #ff1e3c, #ff5a6b);
    border: none;
    color: #fff;
    padding: 7px 14px;
    font-size: 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.25s;
    text-decoration: none;
}
.logout-btn:hover {
    opacity: 0.9;
}

.login-btn {
    /* background: linear-gradient(135deg, #ff1e3c, #ff5a6b); */
    background-color: #d0faf6;
    border: 1px solid #00c4b4;
    color: #00c4b4;
    padding: 7px 14px;
    font-size: 12px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.25s;
    text-decoration: none;
}
.login-btn:hover {
    opacity: 0.9;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #eeeeee;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    z-index: 150;
}

.bottom-nav a {
    text-decoration: none;
    color: #777777;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.25s ease;
    font-weight: 500;
}
.bottom-nav a.active {
    color: #3be3d2;
    /* font-weight: 700; */
}
.bottom-nav i {
    font-size: 18px;
    margin-bottom: 4px;
    color: #9aa1a7;
}
.bottom-nav a.active i {
    color: #3be3d2;
    /* background: #b10028; */
    /* width: 34px;
    height: 34px; */
    /* border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center; */
}

/* .nav-center {
    position: relative;
    width: 70px;
} */

/* White circle background (cut effect) */
/* .nav-center::before {
    content: "";
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 86px;
    height: 86px;
    background: white;
    border-radius: 50%;
    z-index: 0;
} */

/* Actual QR button */
.nav-qris {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    background: #00c4b4;
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white !important;
    font-size: 26px;
    border: 4px solid white;
    z-index: 2;
    text-decoration: none;
}

.nav-qris i {
    color: white;
    font-size: 30px;
}

.header-bar {
    padding: 12px 16px;
}

/* =============================
   🌿 POWERED BY STYLE (RESPONSIVE)
   ============================= */
.powered-container {
    width: 100%;
    text-align: center;
    background: transparent;
    padding: 6px 12px 6px;
    color: #111111;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin: 0 auto calc(var(--bottom-nav-height) + 16px) !important;
    margin-top: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.powered-by-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
}

.powered-by-wrapper img {
    vertical-align: middle;
    height: 44px;
    width: auto;
    opacity: 1;
    transform: translateY(3px);
}

.powered-by-wrapper .divider {
    color: #999999;
    margin: 0 8px;
    font-weight: 400;
    font-size: 14px;
}

.powered-by-wrapper a {
    text-decoration: none;
    color: #111111;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s ease;
}

.powered-by-wrapper a:hover {
    color: #b10028;
    text-decoration: underline;
}

/* 🌿 Tambahan: pastikan tampil rapi di layar kecil */
@media (max-width: 576px) {
    .powered-container {
        padding: 2px 10px 2px;
        font-size: 12px;
        margin: 0 auto calc(var(--bottom-nav-height) + 12px) !important;
        margin-top: -12px;
        line-height: 1.2;
    }

    .powered-by-wrapper {
        flex-direction: column;
        gap: 6px;
    }

    .powered-by-wrapper img {
        height: 40px;
        transform: none;
    }

    .powered-by-wrapper .divider {
        display: none;
    }
}

.content-wrapper {
    padding-bottom: 8px !important;
    padding-top: calc(var(--header-bar-height) + 8px) !important;
}

/* Kontainer konten utama untuk layout mobile */
.mobile-container {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}

/* FOOTER */
footer {
    background: linear-gradient(200deg, var(--primary) 0%, #400010 100%);
    padding: 22px;
    text-align: left;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}
footer img {
    width: 95px;
    margin-bottom: 20px;
}
footer p {
    font-size: 12px;
    color: #ffc6c6;
    line-height: 1.5;
    margin-bottom: 10px;
}
footer small {
    color: #ffbaba;
    font-size: 11px;
}

/* E-WALLETS */
/* SECTION CONTAINER */
.ewallet-section {
    margin: 28px 0px;
    padding: 24px;
    background: #cfe5e3;
    border-radius: 28px;
}

/* HEADER */
.ewallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.ewallet-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.badge-tercepat {
    background: #ffffff;
    color: #00c4b4;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
}

/* GRID */
/* .ewallet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px 18px;
} */

/* ITEM */
.ewallet-item {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
}

.ewallet-item span {
    display: block;
    margin-top: 10px;
}

/* ICON WRAPPER */
.ewallet-icon {
    width: 55px;
    height: 55px;
    border-radius: 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: 700;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
}

/* INDIVIDUAL COLORS */
.ovo {
    background: linear-gradient(135deg, #8f3fff, #5f2dce);
    color: white;
}
.gopay {
    background: #4a90e2;
    color: white;
}
.dana {
    background: #3578e5;
    color: white;
}
.shopee {
    background: #ff7a00;
    color: white;
}
.linkaja {
    background: #e02121;
    color: white;
    font-size: 14px;
}
.flazz {
    background: #5b60d6;
    color: white;
}
.lainnya {
    background: #e5e7eb;
    color: #6b7280;
}
