#studio-header {
    background-color: #18191b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 70px;
}

/* Position the button on the right */
/* #studio-header .auth-buttons {
	position: absolute;
	right: 80px;
} */

.logo-container {
    padding: 0;
}

.logo-container img {
    height: 60px !important;
}

.menu-dropdown {
    position: relative;
    display: inline-block;
}

.menu-link {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 4px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: inherit;
    cursor: pointer;
    text-transform: capitalize;
    color: white;
    transition: all 0.3s ease-in-out;
}

.menu-link>i.bx {
    font-size: 21.6px;
    line-height: 1.5;
    color: inherit;
}

.menu-link:hover {
    outline: none;
    color: #f97d21;
}

.menu-dropdown:hover>.submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    color: #2e2e2e;
}

.submenu {
    position: absolute;
    top: 37.6px;
    /*left: -32px;*/
    right: 10px;
    min-width: 208px;
    height: auto;
    padding: 0 16px 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    border-radius: 0 0 0.25rem 0.25rem;
    border-top: 2px solid #f97d21;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: #2e2e2e;
    transition: all 0.3s ease-in-out;
}

.submenu-item {
    display: block;
    margin-top: 18px;
}

.submenu-link {
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: inherit;
    cursor: pointer;
    color: white;
    transition: all 0.35s ease;
}

.submenu-link:hover {
    outline: none;
    color: #f97d21;
}

.menu-item {
    position: relative;
    display: inline-block;
    margin-left: 30px;
}

.submenu-link {
    float: none;
}

/* For desktop: center logo, keep auth buttons at right */
@media (min-width: 768px) {
    #studio-header {
        justify-content: center;
    }

    /* Keep logo centered by absolutely positioning */
    #studio-header .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: auto;
    }

    /* Move auth buttons to right side */
    #studio-header .auth-buttons {
        position: absolute;
        right: 20px;
    }
}

/* For mobile: logo left, auth right (default flex spacing) */
@media (max-width: 767px) {
    #studio-header {
        justify-content: space-between;
    }

    #studio-header .logo-container {
        position: static;
        transform: none;
    }

    #studio-header .auth-buttons {
        position: static;
    }
    
    #studio-header .auth-buttons #nav-login-btn {
        margin-right: 5px;
    }
}
