/* NAVBAR TOP */
.navbar-custom {
    background-color: #0f3a66;
}

/* NAVBAR BOTTOM (mobile) */
.nav-bottom {
    background-color: #0f3a66;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.2);
}

.nav-bottom a {
    color: #fff;
    font-size: 13px;
}

.nav-bottom i {
    font-size: 20px;
}

/* BOTTOM NAVBAR ONLY ON MOBILE */
@media(min-width: 768px) {
    #bottomNav { 
        display: none !important;
    }
}

.navbar .form-control {
    border-radius: 20px 0 0 20px;
    padding-left: 20px;
}

.navbar .btn-light {
    border-radius: 0 20px 20px 0;
}

.navbar .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.navbar-custom {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Tombol Prev/Next */
.custom-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    top: 50%;
    transform: translateY(-50%);
    border: none;
    z-index: 20;
}

.custom-nav i {
    font-size: 18px;
    color: #333;
}

.custom-nav:hover {
    background: rgba(255,255,255,0.9);
}

/* Hilangkan navbar toggler */
.navbar-toggler {
    display: none !important;
}

/* Navbar tinggi default */
.navbar-top {
    height: 56px;
}

/* Mobile Search Container */
.mobile-search {
    position: fixed;
    top: 56px; /* tepat di bawah navbar */
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: #fff;
    z-index: 999; /* pastikan di depan */
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

/* Search input mobile */
.mobile-search-inner {
    position: relative;
}

.mobile-input {
    padding-left: 35px;
    border-radius: 20px;
    height: 38px;
    font-size: 14px;
}

/* Icon search di dalam input */
.search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
}

/* Perbaiki content turun jauh */
body {
    padding-top: 110px; /* 56 navbar + 54 search mobile */
}

@media (min-width: 992px) {
    body {
        padding-top: 70px; /* PC normal */
    }
}

/* Default: PC */
.main-container {
    padding-top: 5px;
    padding-bottom: 90px;
}

/* Mobile view */
@media (max-width: 767px) {

    .main-container {
        padding-top: 18px !important;  
        /* 56px navbar + ±60px search mobile agar konten tidak ketutup */
        padding-bottom: 90px;
    }
}