nav {
    background-color: #292929 !important;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: #9e9e9e !important;
}

.nav-link:hover {
    color: #E1E1E1 !important;
    background-color: #3D3D3D !important;
    border-radius: 0.25rem !important;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 15px;
    overflow: hidden;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
}

.menu {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0 auto;
}

.menu li a, .menu-text {
    cursor: pointer;
    color: #9e9e9e !important;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
    white-space: nowrap;
    margin-right: 0.5rem;
}

.cabinet-btn {
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    order: 1;
}

.profile-button {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    order: 1;
}

@media (max-width: 768px) {
    .hamburger {
        cursor: pointer;
        display: block;
        margin-left: auto;
    }

    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        background: #f8f9fa;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .menu li a {
        margin-bottom: 0.5rem;
    }
    
    .menu.show-menu {
        display: block;
        background: #222222 !important;
        display: flex;
        z-index: 99;
    }

    .logo {
        flex-shrink: 0;
        height: 40px;
        padding: 0 10px;
        max-width: 160px;
    }

    .cabinet-btn {
        order: 2;
        margin-left: 1rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .footer-buttons {
        display: flex;
        flex-direction: column;
    }
}

.footer-links {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #eee;
    margin-top: 3rem;
}

.footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 1rem;
    white-space: nowrap;
}

.copyright {
    text-align: center;
    color: #666;
    margin-top: 1rem;
}

.text-muted {
    --bs-text-opacity: 1;
    color: #6c757d !important;
}

.dropdown-item, .dropdown-menu {
    color: #E1E1E1 !important;
    background-color: #3D3D3D !important;
}

.dropdown-item:hover {
    background-color: #222222 !important;
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.rounded-circle{
    margin-right: 6px;
}