
/* ===========================
   BOTTOM FIXED FOOTER NAVIGATION (SOLID Z-INDEX & FIXED)
   =========================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(to right, #6a11cb, #2575fc); /* Violet premium smooth */
    padding: 3px 0 0;
    box-shadow: 0 -2px 15px rgba(106, 17, 203, 0.4); /* Violet shadow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999; /* Pasti di atas modal biasa */
    backdrop-filter: blur(8px); /* Smooth glass effect */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Menu Item */
.bottom-nav .nav-item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    margin-top: 5px;
    transition: color 0.3s linear, transform 0.3s linear;
    position: relative;
    z-index: 2;
}

.bottom-nav .nav-item:hover {
    color: #d0b3ff; /* Hover violet terang */
    transform: scale(1.05);
}

.bottom-nav .nav-item.active {
    color: #e0c3fc;
    font-weight: bold;
    transform: scale(1.1);
}

/* Menu Ikon */
.bottom-nav .nav-item i {
    font-size: 18px;
    transition: transform 0.3s linear;
}

.bottom-nav .nav-item:hover i {
    transform: scale(1.2);
}

/* Pay Button Container */
.pay-button-container {
    position: relative;
    z-index: 3; /* Di atas nav-item */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 0;
    margin-top: -40px;
    transition: transform 0.3s linear;
}

/* Pay Button */
.pay-button {
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    color: white;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(106, 17, 203, 0.5);
    transition: transform 0.3s linear, box-shadow 0.3s linear;
    position: relative;
    z-index: 4; /* Di atas semua */
}

.pay-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.7);
}

/* Teks Pay di bawah tombol */
.pay-text {
    font-size: 14px;
    color: #d6c8f5;
    text-align: center;
    margin-top: 6px;
    transition: transform 0.3s linear;
    position: relative;
    z-index: 2;
}

.pay-text:hover {
    transform: scale(1.05);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 480px) {
    .pay-button-container {
        margin-top: -40px;
    }

    .pay-button {
        height: 60px;
        width: 60px;
        font-size: 15px;
    }

    .bottom-nav {
        padding: 4px 0 5px;
    }

    .bottom-nav .nav-item {
        font-size: 11px;
    }

    .bottom-nav .nav-item i {
        font-size: 16px;
    }

    .pay-text {
        font-size: 13px;
        margin-top: 6px;
    }
}

@media (min-width: 768px) {
    .pay-button-container {
        transform: translateX(20px);
    }
}

@media (min-width: 992px) {
    .pay-button-container {
        transform: translateX(30px);
    }
}

@media (min-width: 1200px) {
    .pay-button-container {
        transform: translateX(40px);
    }
}
