.navbar-custom {
    background-color: var(--teal);
    padding: 12px 0;
    border-bottom: 5px solid #111 !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* menu dropdown */
.dropdown-menu {
    border: 3px solid #111 !important;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.15) !important;
    border-radius: 12px;
    padding: 10px;
    background-color: #fff;
}

.dropdown-item {
    font-weight: 800;
    border-radius: 8px;
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.dropdown-item:hover {
    background-color: var(--bg-cream);
    color: var(--teal);
    transform: translateX(3px);
}

.dropdown-toggle::after {
    color: #fff;
    vertical-align: middle;
}

/* kolom search */
.navbar-search {
    position: relative;
    width: 100%;
}

.navbar-search .form-control {
    background-color: #fff;
    border: 3px solid #111 !important;
    color: #111;
    border-radius: 50px;
    padding: 8px 35px 8px 15px;
    font-weight: 800;
    font-size: 13px;
    transition: all 0.2s;
}

.navbar-search .form-control:focus {
    transform: translateY(-2px);
    outline: none;
    border-color: var(--accent-yellow) !important;
}

.navbar-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #111;
    font-weight: 900;
}

/* tombol navbar (masuk/daftar) */
.btn-comic-nav {
    border: 3px solid #111 !important;
    border-radius: 50px;
    padding: 6px 18px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.2s;
    box-shadow: 3px 3px 0px #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-nav-login {
    background-color: #fff;
    color: #111;
}

.btn-nav-login:hover {
    background-color: var(--accent-yellow);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px #111;
}

/* ikon navigasi */
.nav-hamburger-icon {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s;
}

.nav-hamburger-icon:hover {
    color: var(--accent-yellow);
    text-shadow: 2px 2px 0px #111;
    transform: scale(1.1);
}

/* user avatar */
.nav-user-avatar {
    width: 35px;
    height: 35px;
    border: 2px solid #111;
    border-radius: 50%;
    object-fit: cover;
    background-color: #fff;
}

/* hasil quick search */
#quickSearchResult {
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    z-index: 1050;
    background-color: #ffffff; 
    border: 3px solid #111 !important; 
    border-radius: 12px;
    box-shadow: 4px 4px 0px #111 !important; 
    margin-top: 10px; 
    max-height: 60vh; 
    overflow-y: auto; 
    overflow-x: hidden;
    scrollbar-width: none; 
}

#quickSearchResult::-webkit-scrollbar {
    display: none;
}

.qs-item { 
    display: flex; 
    align-items: center; 
    padding: 12px 15px; 
    text-decoration: none; 
    border-bottom: 2px solid #111; 
    transition: background-color 0.2s; 
}

.qs-item:last-child { border-bottom: none; }
.qs-item:hover { background-color: var(--accent-yellow); }

.qs-image { 
    width: 45px; 
    height: 60px; 
    object-fit: cover; 
    border: 2px solid #111; 
    border-radius: 6px; 
    box-shadow: 2px 2px 0px #111; 
    background-color: #fff;
    flex-shrink: 0;
}

.qs-info {
    margin-left: 15px;
    overflow: hidden;
}

.qs-title { 
    font-weight: 900; 
    color: #111; 
    font-size: 0.9rem; 
    text-transform: uppercase;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
    line-height: 1.2;
}

.qs-footer { 
    display: block; 
    text-align: center; 
    padding: 12px; 
    background-color: var(--bg-cream); 
    color: #111; 
    font-size: 0.85rem; 
    font-weight: 900; 
    text-decoration: none; 
    text-transform: uppercase; 
    border-top: 3px solid #111;
    transition: all 0.2s;
}

.qs-footer:hover { 
    background-color: #111; 
    color: var(--accent-yellow); 
}

@media (max-width: 991px) {
    .w-100-mobile {
        width: 100% !important;
        flex-basis: 100% !important;
        margin-top: 10px !important; 
    }
    
    .navbar-search {
        max-width: 100% !important;
    }

    .navbar-brand img {
        height: 32px; 
    }

    .btn-comic-nav {
        padding: 4px 12px;
        font-size: 11px;
    }

    .nav-hamburger-icon {
        font-size: 1.3rem !important;
    }

    .nav-hamburger-icon[data-bs-toggle="dropdown"] {
        font-size: 1.8rem !important; 
    }

    .nav-user-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}