/* Navbar */
/* ========================
   === GENERAL STYLES ===
   ======================== */
   .custom-navbar {
    background-color: #3D5A80 !important;
    padding: 10px 0;
    left: -96px;
    width: calc(100% + 192px);
}

.container-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 10px 96px;
    width: 100%;
}

/* ========================
   === SEARCH SECTION ===
   ======================== */
.search-container {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    border-radius: 50px;
    padding-left: 15px;
    padding-right: 40px;
    width: 250px;
}

.search-btn {
    margin-left: -40px;
    background: none;
    border: none;
    padding: 6px 5px;
}

.search-btn i {
    color: #555;
}

/* ========================
   === HAMBURGER MENU ===
   ======================== */
.menu-icon {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-icon span {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s ease;
}

.hilang {
    display: none;
}

#menu-toggle:checked + .menu-icon {
    transform: rotate(90deg);
}

#menu-toggle:checked + .menu-icon span {
    background: black;
}

#menu-toggle:checked ~ .fullscreen-menu {
    transform: translateY(0);
}

/* ==============================
   === FULLSCREEN MENU STYLE ===
   ============================== */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #ffffff;
    display: block;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.fullscreen-menu ul {
    list-style: none;
    padding: 0;
}

.fullscreen-menu ul li {
    margin: 20px 0;
}

.fullscreen-menu ul li a {
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
}

.ul-hamburger {
    margin-left: 20px;
}

.ul-hamburger li a {
    color: black;
}

.ul-hamburger li a:hover {
    color: #3D5A80;
}

.ul-hamburger li a:active {
    color: #FD904B;
}

.search-hamburger {
    width: 80%;
}

.input-hamburger {
    width: 80%;
}

.auth-hamburger {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.daftar-hamburger {
    border: 1px solid;
}

.me-hamburger {
    background-color: #3D5A80;
    color: white;
}

/* ==========================
   === DROPDOWN (AVATAR) ===
   ========================== */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 1rem;
    top: 3rem;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    list-style: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

#dropdown-toggle:checked ~ .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 5px 0;
}

.dropdown-menu li a {
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    display: block;
    border-radius: 6px;
}

.dropdown-menu li a:hover {
    background-color: #f0f0f0;
}

/* ========================
   === BUTTON & ICON ===
   ======================== */
.btn-light {
    border-radius: 8px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================
   === AUTH & PROFILE ===
   ======================== */
.auth-container {
    display: flex;
    align-items: center;
}

.profile-dropdown {
    display: flex;
    align-items: center;
}

.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    padding: 5px 10px;
    border-radius: 50px;
}

.profile-btn img , .profile-btn svg  {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}


/* Tablet (Lebar ≤ 992px) */
@media (max-width: 1024px) {
}



/* ===============================
   === RESPONSIVE - MOBILE ===
   =============================== */
 @media (max-width: 767px) {

    .container-navbar {
        margin-right: 10px;
        flex-wrap: nowrap;
        align-items: center;
        padding: 0 10%;
        padding-left: 40%;
    }

    .search-hamburger {
        width: 80%;
        margin: 20px 0 0 20px;
    }

    .search-input {
        width: 80%;
    }

    .hilang {
        display: flex;
        margin-left: auto;
        margin-right: 20px;
    }

    



    .dropdown-label {
        display: inline-block;
        margin-right: 20px;
    }

    .dropdown-linklink:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .search-container {
        display: none;
    }

    .auth-container {
        display: flex;
        gap: 5px;
        justify-content: flex-end;
    }

    .masdaf {
        display: none !important;
    }

    .hilang svg {
        color: black;
    }

    .profile-full {
        margin-left: auto !important;
        margin-right: 15%;
    }
}

@media (min-width: 1400px) {
    .container-navbar {
        margin: 10px 200px;
    }
}