.DesktopMenu {
    display: flex;
    align-items: center;
    gap: 20px;

    .MenuItem {
        position: relative;

        .MenuLink {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 12px 16px;
            color: #333;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: color 0.2s ease;
            border-bottom: 2px solid transparent;

            &:hover {
                color: #1976d2;
                border-bottom-color: #1976d2;
            }
        }

        .DropdownIcon {
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .DropdownMenu {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 200px;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;

            .DropdownLink {
                display: block;
                padding: 12px 16px;
                color: #555;
                text-decoration: none;
                font-size: 14px;
                transition: background-color 0.2s ease, color 0.2s ease;
                border-bottom: 1px solid #f0f0f0;

                &:first-child {
                    border-top-left-radius: 8px;
                    border-top-right-radius: 8px;
                }

                &:last-child {
                    border-bottom: none;
                    border-bottom-left-radius: 8px;
                    border-bottom-right-radius: 8px;
                }

                &:hover {
                    background-color: #e8f4fd;
                    color: #1976d2;
                }
            }
        }

        &.HasDropdown:hover {
            .MenuLink {
                color: #1976d2;
                border-bottom-color: #1976d2;
            }

            .DropdownIcon {
                transform: rotate(180deg);
            }

            .DropdownMenu {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
        }
    }
}
