.navbar {
    backdrop-filter: blur(12px); /* lebih halus */
    background-color: rgba(245, 0, 0, 0.85) !important; /* dark glassy */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1050;
}

.navbar:hover {
    background-color: rgba(17, 24, 39, 0.92);
}

.navbar-search input.form-control {
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 0.5rem 1rem;
    transition: box-shadow 0.2s ease, background-color 0.3s ease;
}

.navbar-search input.form-control::placeholder {
    color: #ccc;
}

.navbar-search input.form-control:focus {
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
    color: #fff;
}

.navbar-nav .dropdown-menu {
    border-radius: 0.75rem;
    background-color: #1f2937; /* dark gray */
    color: #f3f4f6;
    border: none;
    animation: fadeIn 0.3s ease-in-out;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.navbar-nav .dropdown-item {
    color: #f3f4f6;
    transition: background 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.img-profile {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%;
}

.img-profile:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
