.mil-top-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
    z-index: 1000;
    gap: 2rem;

    .mil-logo {
        display: flex;
        align-items: center;

        img {
            height: 3rem;
        }
    }

    .mil-explore,
    .mil-credit {
        color: white;
        width: max-content;
    }


    &.mil-active {
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(8px);

        .mil-logo img {
            filter: unset;
        }

        .mil-explore,
        .mil-credit {
            color: white;
        }
    }
}

.nav-horizontal-dot {
    display: flex;
    padding: 10px;
    background-color: transparent;
    transition: background-color 1s, border-radius 1s;

    img {
        filter: invert(0);
        transition: filter 0.8s ease !important;
    }

    &:hover {
        background-color: #fff;
        border-radius: 100px;

        img {
            filter: invert(1);
        }
    }
}

.mil-top-panel-buttons {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    font-weight: bold;
    border-radius: 50px;
    background: rgb(188, 255, 0);
    transition: background 0.3s;

    &:hover {
        background-color: #CFFF00;

        a {
            filter: brightness(110%);
        }
    }
}

.mil-top-panel-right {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 20px;

    &>* {
        cursor: pointer;
    }

}

.mil-top-panel-user {
    display: flex;
    position: relative;
    align-content: center;
    justify-content: center;

    .profile-image-container {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        outline: 1px solid #7f7f7f;
        overflow: hidden;

        .profile-image {
            width: inherit;
            height: inherit;
            object-fit: cover;
        }
    }
}

.mil-top-panel-link {
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;

    &:hover {
        color: #bcff00;
    }
}

.nav-horizontal-dot-wrapper {
    position: relative;
}

.mil-navigation {
    display: flex;
    justify-content: center;
    text-align: center;

    nav {
        width: 100%;
        display: flex;
        gap: 20px;
    }

    .nav-min-sm {
        display: none;
    }

    .mil-top-panel-link-max-sm {
        display: none;
    }

    .logout-title {
        display: none;
    }

    .upload-title {
        display: flex;
        align-items: center;
        justify-content: center;

        img {
            margin-right: 8px;
        }

        p {
            font-size: 16px;
        }
    }

    @media screen and (max-width: 992px) {
        .upload-title {
            padding: 12px;
    
            img {
                margin-right: 0 !important;
            }
    
            p {
                display: none;
            }
        }
    }

    @media screen and (max-width: 640px) {
        .nav-min-sm {
            display: flex;
            flex-direction: column;

            img {
                width: 30px;
                height: 30px;
                cursor: pointer;
            }
        }

        .nav-max-sm {
            position: absolute;
            top: 60px;
            left: 0;
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            width: 100%;
            background-color: rgba(235, 235, 235, 0.9);
            box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
            padding: 20px 0;
            z-index: 1000;

            .mil-top-panel-link-max-sm {
                display: flex;
                color: black;
            }
            
            &.active {
                display: flex;
                gap: 0;

                .mil-top-panel-right {
                    width: inherit;
                    gap: 0;
    
                    .mil-credit,
                    .mil-top-panel-link,
                    .upload-title {
                        display: inline-block;
                        padding: 1rem;
                        width: 100%;
                        transition: background-color 0.3s ease;
                        text-align: center;
    
                        &:hover {
                            background-color: #bcff00;
                        }
                    }
                }

                .upload-title {
                    border-radius: unset;
                    background-color: transparent;
            
                    img, p {
                        position: relative;
                        display: inline-block;
                    }

                    img {
                        top: 6px;
                        right: 2px;
                    }

                    p {
                        left: 1px;
                    }
                }

                & * {
                    color: #000 !important;
                }
            }
        }

        .mil-top-panel-user {
            display: none !important;
        }

        .mil-top-panel-right {
            flex-direction: column;
        }

        .logout-title {
            display: flex;
            width: 100%;
            justify-content: space-evenly;
            background-color: red;
            color: white;
            text-transform: uppercase;
            gap: 6px;

            p {
                display: flex;
                font-size: 18px;
            }
        }

        .nav-horizontal-dot-wrapper {
            display: none;
        }

    }
}

.mil-menu-btn {
    display: none;
    height: 24px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);

    span {
        position: relative;

        &::before,
        &::after {
            content: "";
            display: absolute;
            width: 24px;
            height: 2px;
            background: rgb(255, 255, 255);
            backface-visibility: hidden;
            transition: inherit;
        }

        &:before {
            top: -8px;
        }

        &:after {
            top: 8px;
        }
    }

    &.mil-active {
        span {
            &:before {
                transform: translate(0px, 8px) rotate(-90deg);
            }

            &:after {
                width: 24px;
                transform: translate(0px, -8px) rotate(-90deg);
            }
        }
    }
}

@media screen and (max-width: 1200px) {
    .mil-menu-btn {
        display: flex;
    }
}






























.mil-nav-dropdown {
    position: absolute;
    display: none;
    left: -120%;
    transform: translateY(2rem);
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    background-color: white;

    hr {
        margin: 0px -11px;
        border: none;
        border-top: 1px solid #D9D9D9;
        width: calc(100% + 22px);
    }

    .mil-nav-dropdown-logout {
        color: rgba(252, 120, 120, 0.64);

        &:hover {
            color: #FC7878;
        }
    }

    div {
        display: flex;
        flex-direction: column;
        padding: 11px;
        gap: 10px;

        button {
            text-align: left;
            outline: none;
            border: none;
            min-width: 145px;
            padding: 10px;
            border-radius: 8px;
            background-color: transparent;
            cursor: pointer;
            color: #7F7F7F;

            &:hover {
                background-color: #F7F7F7;
                color: black;
            }
        }
    }
}

.mil-nav-dropdown-user {
    transform: translateY(5rem);
}



.search-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F7F7F7;
    width: 100%;
    border-radius: 10px;
    padding: 6px 7px 6px 15px;
    gap: 20px;

    @media (max-width: 1024px) {
        display: none !important;
    }

    input {
        width: 100%;
        background-color: transparent;
        outline: none;
        border: none;
        font-family: 'Poppins'
    }

    button {
        padding: 10px;
        border-radius: 10px;
        background-color: #D9D9D9;
        outline: none;
        border: none;
        cursor: pointer;
        transition: all .2s;

        &:hover {
            background-color: #7F7F7F;

            img {
                filter: brightness(0) saturate(100%) invert(100%) sepia(26%) saturate(1723%) hue-rotate(256deg) brightness(119%) contrast(108%);
            }
        }
    }
}